summaryrefslogtreecommitdiffstats
path: root/examples/richtext/syntaxhighlighter/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/richtext/syntaxhighlighter/main.cpp')
-rw-r--r--examples/richtext/syntaxhighlighter/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/richtext/syntaxhighlighter/main.cpp b/examples/richtext/syntaxhighlighter/main.cpp
index eecfb12bdc..e0e5e4f407 100644
--- a/examples/richtext/syntaxhighlighter/main.cpp
+++ b/examples/richtext/syntaxhighlighter/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, 512);
window.show();
+#endif
return app.exec();
}