Commit 70f8f197 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[plasmashell] Set Qt::AA_UseHighDpiPixmaps

We currently do not support Qt scaling in plasmashell but in case we do, don't forget this.

Differential Revision: https://phabricator.kde.org/D11131
parent 04dc4c9d
......@@ -52,6 +52,8 @@ int main(int argc, char *argv[])
if (!qEnvironmentVariableIsSet("PLASMA_USE_QT_SCALING")) {
qunsetenv("QT_DEVICE_PIXEL_RATIO");
QCoreApplication::setAttribute(Qt::AA_DisableHighDpiScaling);
} else {
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
}
QQuickWindow::setDefaultAlphaBuffer(true);
......
Supports Markdown
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