Raise minimum Qt version to 5.9.0

This commit is contained in:
sledgehammer999 2019-03-03 20:33:17 +02:00
parent c109b7a57a
commit 5c63ad3b95
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2
11 changed files with 28 additions and 56 deletions

View file

@ -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
}