summaryrefslogtreecommitdiffstats
path: root/examples/richtext/orderform/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/richtext/orderform/main.cpp')
-rw-r--r--examples/richtext/orderform/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/richtext/orderform/main.cpp b/examples/richtext/orderform/main.cpp
index eb8155fd9a..7aff81d6ad 100644
--- a/examples/richtext/orderform/main.cpp
+++ b/examples/richtext/orderform/main.cpp
@@ -47,8 +47,14 @@ 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)
+ windows.show();
+#else
window.resize(640, 480);
window.show();
+#endif
window.createSample();
return app.exec();
}