mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 22:18:05 -06:00
Raise minimum Qt version to 5.9.0
This commit is contained in:
@@ -55,11 +55,7 @@ qreal Utils::Gui::screenScalingFactor(const QWidget *widget)
|
||||
#elif defined(Q_OS_MAC)
|
||||
return 1;
|
||||
#else
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
|
||||
return widget->devicePixelRatioF();
|
||||
#else
|
||||
return widget->devicePixelRatio();
|
||||
#endif
|
||||
#endif // Q_OS_WIN
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user