diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2017-12-06 14:50:41 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2017-12-06 16:41:00 +0000 |
commit | 08e6d5ae87d23c93d30c3aa339f51d9fb8e1c4b4 (patch) | |
tree | 000482cf5bc486dcec91418c51d7d07f361d30e5 /tools | |
parent | 256b97134ac339196a13a725a58e6aa9657ea5f2 (diff) |
qt3dsexplorer: move the first init call to where it belongs
Change-Id: I4db2cf3e812e3867d32570cf3687bcc9f82c30cb
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qt3dsexplorer/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/qt3dsexplorer/main.cpp b/tools/qt3dsexplorer/main.cpp index 83259bc..84d15e8 100644 --- a/tools/qt3dsexplorer/main.cpp +++ b/tools/qt3dsexplorer/main.cpp @@ -36,8 +36,9 @@ int main(int argc, char *argv[]) { - QApplication app(argc, argv); Q3DStudioWindow::initStaticPreApp(); + QApplication app(argc, argv); + QCommandLineParser cmdLineParser; cmdLineParser.addHelpOption(); cmdLineParser.addPositionalArgument(QLatin1String("filename"), QObject::tr("UIP or UIA file to open")); |