summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorQudix <17361645+Qudix@users.noreply.github.com>2020-11-10 12:11:20 -0600
committerQudix <17361645+Qudix@users.noreply.github.com>2020-11-10 12:11:20 -0600
commit62caad3cdbf6b616594c1d9d17d837f942ae110b (patch)
tree94270f70c8e467d59ce8c5599526e67857f8060e /src/main.cpp
parentb9bc1a2d56be5efc4478f1487c3e7dfb3529102d (diff)
parent9c21d1e4f6a42043bc4cf86f1235750ee8ce6f64 (diff)
Merge branch 'master' of https://github.com/ModOrganizer2/modorganizer into master
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 554ed006..877236e1 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -17,8 +17,6 @@ int forwardToPrimary(MOMultiProcess& multiProcess, const cl::CommandLine& cl);
int main(int argc, char *argv[])
{
- TimeThis tt("main()");
-
MOShared::SetThisThreadName("main");
setExceptionHandlers();
@@ -29,6 +27,9 @@ int main(int argc, char *argv[])
initLogging();
+ // must be after logging
+ TimeThis tt("main()");
+
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
MOApplication app(cl, argc, argv);