summaryrefslogtreecommitdiffstats
path: root/examples/graphicsview/basicgraphicslayouts/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/graphicsview/basicgraphicslayouts/main.cpp')
-rw-r--r--examples/graphicsview/basicgraphicslayouts/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/graphicsview/basicgraphicslayouts/main.cpp b/examples/graphicsview/basicgraphicslayouts/main.cpp
index 5edd130403..4a9e8f91b4 100644
--- a/examples/graphicsview/basicgraphicslayouts/main.cpp
+++ b/examples/graphicsview/basicgraphicslayouts/main.cpp
@@ -51,8 +51,12 @@ int main(int argc, char **argv)
Window *window = new Window;
scene.addItem(window);
QGraphicsView view(&scene);
+#if defined(Q_WS_S60) || defined(Q_WS_MAEMO_5) || defined(Q_WS_SIMULATOR)
+ view.showMaximized();
+#else
view.resize(600, 600);
view.show();
+#endif
return app.exec();
}