summaryrefslogtreecommitdiffstats
path: root/tools/qmlviewer
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-01-19 00:34:47 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-01-19 00:34:47 (GMT)
commitf05d5f08baafdbf7195791fe98d8a273f35df833 (patch)
treebdf17b8c65aa1646cfff6abee6bca35fad4309b6 /tools/qmlviewer
parentac90f1e7a4f06749f93b2b593fbf1b993d8af4c5 (diff)
downloadQt-f05d5f08baafdbf7195791fe98d8a273f35df833.zip
Qt-f05d5f08baafdbf7195791fe98d8a273f35df833.tar.gz
Qt-f05d5f08baafdbf7195791fe98d8a273f35df833.tar.bz2
Allow the QML based file browser to be used in place of native.
Diffstat (limited to 'tools/qmlviewer')
-rw-r--r--tools/qmlviewer/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/qmlviewer/main.cpp b/tools/qmlviewer/main.cpp
index 8a5efa3..d170521 100644
--- a/tools/qmlviewer/main.cpp
+++ b/tools/qmlviewer/main.cpp
@@ -222,6 +222,8 @@ int main(int argc, char ** argv)
translationFile = argv[++i];
} else if (arg == "-opengl") {
useGL = true;
+ } else if (arg == "-qmlbrowser") {
+ useNativeFileBrowser = false;
} else if (arg == "-L") {
if (lastArg) usage();
libraries << QString(argv[++i]);