summaryrefslogtreecommitdiffstats
path: root/examples/graphicsview/anchorlayout/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/graphicsview/anchorlayout/main.cpp')
-rw-r--r--examples/graphicsview/anchorlayout/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/graphicsview/anchorlayout/main.cpp b/examples/graphicsview/anchorlayout/main.cpp
index e8cf1adf4e..f9f93fb961 100644
--- a/examples/graphicsview/anchorlayout/main.cpp
+++ b/examples/graphicsview/anchorlayout/main.cpp
@@ -122,7 +122,12 @@ int main(int argc, char **argv)
scene.addItem(w);
scene.setBackgroundBrush(Qt::darkGreen);
QGraphicsView view(&scene);
+
+#if defined(Q_WS_S60)
+ view.showMaximized();
+#else
view.show();
+#endif
return app.exec();
}