summaryrefslogtreecommitdiffstats
path: root/examples/webkit/fancybrowser/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webkit/fancybrowser/main.cpp')
-rw-r--r--examples/webkit/fancybrowser/main.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/webkit/fancybrowser/main.cpp b/examples/webkit/fancybrowser/main.cpp
index bd5c236..b18d190 100644
--- a/examples/webkit/fancybrowser/main.cpp
+++ b/examples/webkit/fancybrowser/main.cpp
@@ -50,6 +50,10 @@ int main(int argc, char * argv[])
else
url = QUrl("http://www.google.com/ncr");
MainWindow *browser = new MainWindow(url);
- browser->show();
+ #if defined Q_OS_SYMBIAN || defined Q_WS_HILDON || defined Q_WS_MAEMO_5 || defined Q_WS_SIMULATOR
+ browser->showMaximized();
+ #else
+ browser->show();
+ #endif
return app.exec();
}