aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmidiplayer-desktop/main.cpp')
-rw-r--r--qmidiplayer-desktop/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/main.cpp b/qmidiplayer-desktop/main.cpp
index 2ac275e..c7167d0 100644
--- a/qmidiplayer-desktop/main.cpp
+++ b/qmidiplayer-desktop/main.cpp
@@ -23,6 +23,8 @@
int main(int argc,char **argv)
{
+ QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
+ QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
QApplication a(argc,argv);
QTranslator qtTranslator;
qtTranslator.load("qt_"+QLocale::system().name(),