Merge 0891466fb85bdaa585bae825383b1699153d0aa6 into 15e6e48bef0216480661444a8d8b348c1cca47bb

This commit is contained in:
Stuart Kenny 2024-03-02 13:31:18 +01:00 committed by GitHub
commit c1b4059338
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5236,7 +5236,7 @@ static void SetHighDPIAttributes() {
if (max_ratio > real_ratio) { if (max_ratio > real_ratio) {
QApplication::setHighDpiScaleFactorRoundingPolicy( QApplication::setHighDpiScaleFactorRoundingPolicy(
Qt::HighDpiScaleFactorRoundingPolicy::Round); Qt::HighDpiScaleFactorRoundingPolicy::RoundPreferFloor);
} else { } else {
QApplication::setHighDpiScaleFactorRoundingPolicy( QApplication::setHighDpiScaleFactorRoundingPolicy(
Qt::HighDpiScaleFactorRoundingPolicy::Floor); Qt::HighDpiScaleFactorRoundingPolicy::Floor);