summaryrefslogtreecommitdiffstats
path: root/examples/itemviews/dirview/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/itemviews/dirview/main.cpp')
-rw-r--r--examples/itemviews/dirview/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/itemviews/dirview/main.cpp b/examples/itemviews/dirview/main.cpp
index dbb5b7ae8c..c15040902c 100644
--- a/examples/itemviews/dirview/main.cpp
+++ b/examples/itemviews/dirview/main.cpp
@@ -55,8 +55,12 @@ int main(int argc, char *argv[])
tree.setSortingEnabled(true);
tree.setWindowTitle(QObject::tr("Dir View"));
+#if defined(Q_OS_SYMBIAN) || defined(Q_WS_MAEMO_5)
+ tree.showMaximized();
+#else
tree.resize(640, 480);
tree.show();
+#endif
return app.exec();
}