Commit a897a188 authored by Matej Mrenica's avatar Matej Mrenica Committed by Yuri Chornoivan

Fix blurry icons by adding UseHighDpiPixmaps flag

Summary: When using fractional scaling, icons on the top and on both sides are blurred. This patch fixes the issue.

Test Plan:
No side effects.

Before:
{F8287055}
After:
{F8287056}

Reviewers: #kde_applications, yurchor

Reviewed By: yurchor

Subscribers: yurchor, kde-edu

Tags: #kde_edu

Differential Revision: https://phabricator.kde.org/D29450
parent 92bc71f0
......@@ -82,6 +82,8 @@ static void dataMigration()
int main( int argc, char **argv )
{
configMigration();
// Fixes blurry icons with Fractional scaling
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
QApplication app( argc, argv );
KLocalizedString::setApplicationDomain( "kig" );
KAboutData about = kigAboutData( "kig", I18N_NOOP( "Kig" ) );
......
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