summaryrefslogtreecommitdiffstats
path: root/examples/mainwindows/application/main.cpp
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-04-27 17:16:41 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2011-04-27 17:16:41 (GMT)
commit539311f7b2687e3148ea695ce06fee768abe7b44 (patch)
tree435efcc3d0185cd0fb7e4cd93767f3a12627847c /examples/mainwindows/application/main.cpp
parentddb22795641253a026b72f752ebc769745dd41be (diff)
downloadQt-539311f7b2687e3148ea695ce06fee768abe7b44.zip
Qt-539311f7b2687e3148ea695ce06fee768abe7b44.tar.gz
Qt-539311f7b2687e3148ea695ce06fee768abe7b44.tar.bz2
Squashed commit of the changes from the mobile-examples repository
(4.7-generated-declarative branch).
Diffstat (limited to 'examples/mainwindows/application/main.cpp')
-rw-r--r--examples/mainwindows/application/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/mainwindows/application/main.cpp b/examples/mainwindows/application/main.cpp
index 9a9dc9c..14c7af2 100644
--- a/examples/mainwindows/application/main.cpp
+++ b/examples/mainwindows/application/main.cpp
@@ -51,7 +51,11 @@ int main(int argc, char *argv[])
app.setOrganizationName("Trolltech");
app.setApplicationName("Application Example");
MainWindow mainWin;
+#if defined(Q_OS_SYMBIAN)
+ mainWin.showMaximized();
+#else
mainWin.show();
+#endif
return app.exec();
}
//! [0]