diff --git a/src/Plugins/Qt/QTMApplication.hpp b/src/Plugins/Qt/QTMApplication.hpp index c28c73d6b5..5f3f9fce74 100644 --- a/src/Plugins/Qt/QTMApplication.hpp +++ b/src/Plugins/Qt/QTMApplication.hpp @@ -120,6 +120,7 @@ class QTMApplication: public QApplication { QApplication (argc, argv) { init_palette (this); init_style_sheet (this); + QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::RoundPreferFloor); } void set_window_icon (string icon_path) {