summaryrefslogtreecommitdiffstats
path: root/examples/graphicsview/simpleanchorlayout/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/graphicsview/simpleanchorlayout/main.cpp')
-rw-r--r--examples/graphicsview/simpleanchorlayout/main.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/graphicsview/simpleanchorlayout/main.cpp b/examples/graphicsview/simpleanchorlayout/main.cpp
index fe5786fa7a..ff1ac2ba59 100644
--- a/examples/graphicsview/simpleanchorlayout/main.cpp
+++ b/examples/graphicsview/simpleanchorlayout/main.cpp
@@ -126,8 +126,15 @@ int main(int argc, char *argv[])
QGraphicsView *view = new QGraphicsView();
view->setScene(scene);
view->setWindowTitle(QApplication::translate("simpleanchorlayout", "Simple Anchor Layout"));
+
+#if defined(Q_OS_SYMBIAN)
+ view->showMaximized();
+#elif defined(Q_WS_MAEMO_5)
+ view-show();
+#else
view->resize(360, 320);
view->show();
+#endif
return app.exec();
}