summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAleks Kissinger <aleks0@gmail.com>2018-02-15 16:32:33 +0100
committerAleks Kissinger <aleks0@gmail.com>2018-02-15 16:32:33 +0100
commit09c331761648541de907c866c56fb6084c6f7a9b (patch)
tree8e5a11c282255a0e5248c8a6093e362aa136861f /src/main.cpp
parent768e097abd17d07dd2748894b4dc1b09471dd6da (diff)
added support for changing edge mode, and started working on windows support
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 6b14549..96069ef 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -10,8 +10,13 @@
#include <QMenuBar>
+
+
int main(int argc, char *argv[])
{
+ QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
+ QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
+ //QCoreApplication::setAttribute(Qt::AA_DisableHighDpiScaling);
QApplication a(argc, argv);
a.setQuitOnLastWindowClosed(false);
tikzit = new Tikzit();