summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/qmlviewer/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlviewer/main.cpp b/tools/qmlviewer/main.cpp
index d1ee733..8a5efa3 100644
--- a/tools/qmlviewer/main.cpp
+++ b/tools/qmlviewer/main.cpp
@@ -126,6 +126,7 @@ int main(int argc, char ** argv)
qInstallMsgHandler(myMessageOutput);
#endif
+#if defined (Q_WS_X11)
//### default to using raster graphics backend for now
bool gsSpecified = false;
for (int i = 0; i < argc; ++i) {
@@ -136,7 +137,6 @@ int main(int argc, char ** argv)
}
}
-#if !defined (Q_OS_SYMBIAN)
if (!gsSpecified)
QApplication::setGraphicsSystem("raster");
#endif