Skip to content

Commit

Permalink
[48_12] set HighDpiScaleFactorRoundingPolicy to RoundPreferFloor
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii committed Oct 7, 2023
1 parent 9411487 commit 1dd040b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Plugins/Qt/QTMApplication.hpp
Expand Up @@ -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) {
Expand Down

0 comments on commit 1dd040b

Please sign in to comment.