summaryrefslogtreecommitdiff
path: root/examples/layouts/basiclayouts/main.cpp
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-04-28 19:39:11 +0200
committerDavid Boddie <david.boddie@nokia.com>2011-04-28 19:39:11 +0200
commit3abaecc3aec4e46f1c5969c33875fd45aa542385 (patch)
tree58613c5d2b765018c31d0b189e9c5a34d8adde69 /examples/layouts/basiclayouts/main.cpp
parentddb22795641253a026b72f752ebc769745dd41be (diff)
downloadqt4-tools-3abaecc3aec4e46f1c5969c33875fd45aa542385.tar.gz
Squashed commit of the changes from the mobile-examples repository
(4.7-generated-declarative branch).
Diffstat (limited to 'examples/layouts/basiclayouts/main.cpp')
-rw-r--r--examples/layouts/basiclayouts/main.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/layouts/basiclayouts/main.cpp b/examples/layouts/basiclayouts/main.cpp
index 8aa11f488d..6b6077546f 100644
--- a/examples/layouts/basiclayouts/main.cpp
+++ b/examples/layouts/basiclayouts/main.cpp
@@ -46,5 +46,11 @@ int main(int argc, char *argv[])
{
QApplication app(argc, argv);
Dialog dialog;
- return dialog.exec();
+#if defined(Q_OS_SYMBIAN)
+ dialog.showMaximized();
+#else
+ dialog.show();
+#endif
+
+ return app.exec();
}