summaryrefslogtreecommitdiffhomepage
path: root/gui/init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/init.cpp')
-rw-r--r--gui/init.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/init.cpp b/gui/init.cpp
index 9821404d..3aae5772 100644
--- a/gui/init.cpp
+++ b/gui/init.cpp
@@ -263,7 +263,9 @@ int otr_main(int argc, char** argv, std::function<std::unique_ptr<QWidget>()> co
#endif
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
+#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
+#endif
QApplication app(argc, argv);