Commit 5a204c22 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

Merge remote-tracking branch 'origin/release/19.12'

parents f26a9dcb 577b74c7
......@@ -82,8 +82,11 @@ int main(int argc, char **argv)
/**
* allow fractional scaling
* we only activate this on Windows, it seems to creates problems on unices
* (and there the fractional scaling with the QT_... env vars as set by KScreen works)
* see bug 416078
*/
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) && defined(Q_OS_WIN)
QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
#endif
......
......@@ -72,8 +72,11 @@ extern "C" Q_DECL_EXPORT int main(int argc, char **argv)
/**
* allow fractional scaling
* we only activate this on Windows, it seems to creates problems on unices
* (and there the fractional scaling with the QT_... env vars as set by KScreen works)
* see bug 416078
*/
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) && defined(Q_OS_WIN)
QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment