diff options
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 6d717db5..629b89f9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -645,6 +645,11 @@ int runApplication(MOApplication &application, SingleInstance &instance, int main(int argc, char *argv[]) { + //Make sure the configured temp folder exists + QDir tempDir = QDir::temp(); + if (!tempDir.exists()) + tempDir.root().mkpath(tempDir.canonicalPath()); + //Should allow for better scaling of ui with higher resolution displays QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); |
