Commit 0f147181 authored by Alexander Lohnau's avatar Alexander Lohnau 💬 Committed by Yuri Chornoivan

Fix blurry icons on highdpi

parent 8be407e5
......@@ -92,6 +92,10 @@ int main(int argc, char *argv[])
// set global log message format
qSetMessagePattern(KrServices::GLOBAL_MESSAGE_PATTERN);
// enable high dpi support
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);
// prevent qt5-webengine crashing
QApplication::setAttribute(Qt::AA_ShareOpenGLContexts);
......
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