diff options
author | David Boddie <david.boddie@nokia.com> | 2011-04-27 17:16:41 (GMT) |
---|---|---|
committer | David Boddie <david.boddie@nokia.com> | 2011-05-04 16:34:57 (GMT) |
commit | b727e5b95c1f0bd308b228fcf0445b42847ae583 (patch) | |
tree | e120ca1ec5c2e303fb6fca97bc9754403e0f25f2 /examples/webkit/simpleselector/main.cpp | |
parent | 6d1e0faa19be784f79730d65af9c1a162245c7dc (diff) | |
download | Qt-b727e5b95c1f0bd308b228fcf0445b42847ae583.zip Qt-b727e5b95c1f0bd308b228fcf0445b42847ae583.tar.gz Qt-b727e5b95c1f0bd308b228fcf0445b42847ae583.tar.bz2 |
Squashed commit of the changes from the mobile-examples repository
(4.7-generated-declarative branch).
(cherry picked from commit 539311f7b2687e3148ea695ce06fee768abe7b44)
Diffstat (limited to 'examples/webkit/simpleselector/main.cpp')
-rw-r--r-- | examples/webkit/simpleselector/main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/webkit/simpleselector/main.cpp b/examples/webkit/simpleselector/main.cpp index 959f15d..cdd1123 100644 --- a/examples/webkit/simpleselector/main.cpp +++ b/examples/webkit/simpleselector/main.cpp @@ -47,7 +47,11 @@ int main(int argc, char *argv[]) QApplication app(argc, argv); Window window; window.setUrl(QUrl("http://www.webkit.org")); - window.show(); + #if defined Q_OS_SYMBIAN || defined Q_WS_HILDON || defined Q_WS_MAEMO_5 || defined Q_WS_SIMULATOR + window.showMaximized(); + #else + window.show(); + #endif return app.exec(); } //! [main program] |