summaryrefslogtreecommitdiffstats
path: root/examples/richtext/syntaxhighlighter
diff options
context:
space:
mode:
Diffstat (limited to 'examples/richtext/syntaxhighlighter')
-rw-r--r--examples/richtext/syntaxhighlighter/main.cpp6
-rw-r--r--examples/richtext/syntaxhighlighter/syntaxhighlighter.pro2
2 files changed, 0 insertions, 8 deletions
diff --git a/examples/richtext/syntaxhighlighter/main.cpp b/examples/richtext/syntaxhighlighter/main.cpp
index e0e5e4f407..eecfb12bdc 100644
--- a/examples/richtext/syntaxhighlighter/main.cpp
+++ b/examples/richtext/syntaxhighlighter/main.cpp
@@ -46,13 +46,7 @@ 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();
}
diff --git a/examples/richtext/syntaxhighlighter/syntaxhighlighter.pro b/examples/richtext/syntaxhighlighter/syntaxhighlighter.pro
index 9abd82f40a..0f9b447a74 100644
--- a/examples/richtext/syntaxhighlighter/syntaxhighlighter.pro
+++ b/examples/richtext/syntaxhighlighter/syntaxhighlighter.pro
@@ -10,7 +10,6 @@ sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS syntaxhighlighter.pro ex
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/richtext/syntaxhighlighter
INSTALLS += target sources
-symbian: CONFIG += qt_example
wince*: {
addFiles.files = main.cpp mainwindow.cpp
@@ -18,5 +17,4 @@ wince*: {
DEPLOYMENT += addFiles
}
QT += widgets
-maemo5: CONFIG += qt_example