diff options
author | David Boddie <david.boddie@nokia.com> | 2011-04-27 19:16:41 +0200 |
---|---|---|
committer | David Boddie <david.boddie@nokia.com> | 2011-05-20 21:08:25 +0200 |
commit | 21caabc486fb594a29af9b84f172657093e4d662 (patch) | |
tree | 03da7c9a74765f77a8facbe4d5b89ef9ac38f8b3 /examples/script/helloscript/main.cpp | |
parent | b843a09895a28edf113e814fc0df09fd3c1cf9df (diff) | |
download | qtscript-21caabc486fb594a29af9b84f172657093e4d662.tar.gz |
Squashed commit of the changes from the mobile-examples repository
(4.7-generated-declarative branch).
(cherry picked from commit 539311f7b2687e3148ea695ce06fee768abe7b44)
Diffstat (limited to 'examples/script/helloscript/main.cpp')
-rw-r--r-- | examples/script/helloscript/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/script/helloscript/main.cpp b/examples/script/helloscript/main.cpp index 3bf91a0..9c5b631 100644 --- a/examples/script/helloscript/main.cpp +++ b/examples/script/helloscript/main.cpp @@ -78,6 +78,10 @@ int main(int argc, char *argv[]) scriptFile.close(); //! [3] +#ifdef Q_OS_SYMBIAN + contents.replace("button.show()", "button.showMaximized()"); +#endif + //! [4] QScriptValue result = engine.evaluate(contents, fileName); //! [4] |