summaryrefslogtreecommitdiffstats
path: root/examples/itemviews/simpledommodel/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/itemviews/simpledommodel/main.cpp')
-rw-r--r--examples/itemviews/simpledommodel/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/itemviews/simpledommodel/main.cpp b/examples/itemviews/simpledommodel/main.cpp
index 74a14b0..94496f8 100644
--- a/examples/itemviews/simpledommodel/main.cpp
+++ b/examples/itemviews/simpledommodel/main.cpp
@@ -46,7 +46,13 @@ int main(int argc, char *argv[])
{
QApplication app(argc, argv);
MainWindow window;
+#if defined(Q_OS_SYMBIAN)
+ window.showMaximized();
+#elif defined(Q_WS_MAEMO_5)
+ window.show();
+#else
window.resize(640, 480);
window.show();
+#endif
return app.exec();
}