summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAleks Kissinger <aleks0@gmail.com>2018-08-02 17:44:37 +0200
committerAleks Kissinger <aleks0@gmail.com>2018-08-02 17:44:37 +0200
commit31a78ae551b781eccc47546a2f6d4bf121af24cf (patch)
treeb997a471d484f9b096878919fcd38b074dc7a59a /src/main.cpp
parentf978634e8607f568b83952db9255e08f3f7cbe92 (diff)
started style editor
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);