summaryrefslogtreecommitdiffstats
path: root/examples/richtext/calendar/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/richtext/calendar/main.cpp')
-rw-r--r--examples/richtext/calendar/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/richtext/calendar/main.cpp b/examples/richtext/calendar/main.cpp
index b23e883..9c1141f 100644
--- a/examples/richtext/calendar/main.cpp
+++ b/examples/richtext/calendar/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) || defined(Q_WS_SIMULATOR)
+ window.show();
+#else
window.resize(640, 256);
window.show();
+#endif
return app.exec();
}