summaryrefslogtreecommitdiffstats
path: root/tools/qmlviewer
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qmlviewer')
-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 ed700a0..5c75656 100644
--- a/tools/qmlviewer/main.cpp
+++ b/tools/qmlviewer/main.cpp
@@ -154,11 +154,11 @@ int main(int argc, char ** argv)
viewer.setDeviceKeys(true);
viewer.setRecordDither(dither);
viewer.setRecordArgs(recordargs);
+ viewer.show();
if (!fileName.isEmpty())
viewer.openQml(fileName);
else
viewer.open();
- viewer.show();
return app.exec();
}