diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2010-01-19 07:39:08 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2010-01-19 07:54:12 (GMT) |
commit | 98a8be614d410a153cd9c314465f4c49d4ad096d (patch) | |
tree | f5675e945da3e4055342bda587a0dd349275b9c4 /tools/qmlviewer/main.cpp | |
parent | 07373821696a06f228696e794d1e4568e51a1456 (diff) | |
download | Qt-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/qmlviewer/main.cpp')
-rw-r--r-- | tools/qmlviewer/main.cpp | 2 |
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(); |