summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-01-19 07:39:08 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-01-19 07:54:12 (GMT)
commit98a8be614d410a153cd9c314465f4c49d4ad096d (patch)
treef5675e945da3e4055342bda587a0dd349275b9c4 /tools
parent07373821696a06f228696e794d1e4568e51a1456 (diff)
downloadQt-98a8be614d410a153cd9c314465f4c49d4ad096d.zip
Qt-98a8be614d410a153cd9c314465f4c49d4ad096d.tar.gz
Qt-98a8be614d410a153cd9c314465f4c49d4ad096d.tar.bz2
Fix bad behaviour on N900
Task-number: QTBUG-7431 Reviewed-by: akennedy
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 8a5efa3..f11c7c9 100644
--- a/tools/qmlviewer/main.cpp
+++ b/tools/qmlviewer/main.cpp
@@ -296,7 +296,6 @@ int main(int argc, char ** argv)
usage();
}
- viewer.setUseGL(useGL);
foreach (QString lib, libraries)
viewer.addLibraryPath(lib);
viewer.setNetworkCacheSize(cache);
@@ -335,6 +334,7 @@ int main(int argc, char ** argv)
if (useNativeFileBrowser)
viewer.openFile();
}
+ viewer.setUseGL(useGL);
viewer.raise();
return app.exec();