Commit 1c79d6ef authored by Matej Mrenica's avatar Matej Mrenica Committed by Nate Graham

Fix blurry icons by adding UseHighDpiPixmaps flag

Summary: When using fractional scaling, some icons are blurred. This patch fixes the issue.

Test Plan:
No side effects.

Before:
{F8287226}
After:
{F8287229}

Reviewers: #kde_applications, ngraham

Reviewed By: #kde_applications, ngraham

Subscribers: kde-utils-devel

Differential Revision: https://phabricator.kde.org/D29452
parent 472859c3
......@@ -68,6 +68,8 @@ void KDFTopLevel::closeEvent(QCloseEvent *event)
/***************************************************************/
int main(int argc, char **argv)
{
//Fixes blurry icons with fractional scaling
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
QApplication app(argc, argv);
KLocalizedString::setApplicationDomain("kdf");
......
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