summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 412f15f..1fcefc0 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -28,10 +28,16 @@
#include <QApplication>
#include <QMenuBar>
+// #ifdef Q_OS_WIN
+// #include <Windows.h>
+// #endif
int main(int argc, char *argv[])
{
+ // #ifdef Q_OS_WIN
+ // SetProcessDPIAware();
+ // #endif
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
//QCoreApplication::setAttribute(Qt::AA_DisableHighDpiScaling);