summaryrefslogtreecommitdiffstats
path: root/examples/webkit/domtraversal/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webkit/domtraversal/main.cpp')
-rw-r--r--examples/webkit/domtraversal/main.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/webkit/domtraversal/main.cpp b/examples/webkit/domtraversal/main.cpp
index c705bbc..6d5650c 100644
--- a/examples/webkit/domtraversal/main.cpp
+++ b/examples/webkit/domtraversal/main.cpp
@@ -45,7 +45,11 @@ int main(int argc, char *argv[])
{
QApplication app(argc, argv);
Window window;
- 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
window.setUrl(QUrl("http://qt.nokia.com/"));
return app.exec();
}