summaryrefslogtreecommitdiffstats
path: root/examples/webkit/simpleselector/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webkit/simpleselector/main.cpp')
-rw-r--r--examples/webkit/simpleselector/main.cpp6
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]