diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-11-10 11:52:34 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-10 11:52:34 -0500 |
| commit | 49f208c5a28d757879e81b42af7dc7f1a0edfc76 (patch) | |
| tree | ad49b9c01db6267755c3d9cdea4c7b1df7f5b170 /src/main.cpp | |
| parent | fef8543a58b4226242ce26c4c8876abaa64394cb (diff) | |
| parent | 5fa4df55256912beadb3992451e4e7e8b9d90e7c (diff) | |
Merge pull request #1287 from isanae/master
Stuff doesn't run
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 5 |
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); |
