summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-07-21 20:06:41 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-07-23 11:05:33 +0200
commit6bd980833c4da698540224fb58adbd4c988e11c2 (patch)
tree1a7a2e1b17bdb553d8276f47e6a7bd872002782f
parentd613381a46c281d6f96c5b6079b625e85d450ab4 (diff)
gui: don't try to force "windowsxp" style
-rw-r--r--gui/main.cpp3
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);