diff options
-rw-r--r-- | gui/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/main.cpp b/gui/main.cpp index d1f2786f..e254ceab 100644 --- a/gui/main.cpp +++ b/gui/main.cpp @@ -100,7 +100,7 @@ int main(int argc, char** argv) // qt5 designer-made controls look like shit on 'doze -sh 20140921 // also our OSX look leaves a lot to be desired -sh 20150726 { - const QStringList preferred { "fusion", "windowsvista", "macintosh", "windowsxp" }; + const QStringList preferred { "fusion", "windowsvista", "macintosh" }; for (const auto& style_name : preferred) { QStyle* s = QStyleFactory::create(style_name); @@ -113,6 +113,7 @@ int main(int argc, char** argv) } #endif + QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QApplication::setAttribute(Qt::AA_X11InitThreads, true); QApplication app(argc, argv); |