Commit 5a465822 authored by Matej Mrenica's avatar Matej Mrenica Committed by Yuri Chornoivan
Browse files

Fix blurry icons by adding UseHighDpiPixmaps flag

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

Test Plan: No side effects.

Reviewers: #kde_games, yurchor

Reviewed By: yurchor

Subscribers: yurchor, kde-games-devel

Differential Revision: https://phabricator.kde.org/D29657
parent c65a452b
......@@ -67,7 +67,8 @@ bool global_demo_mode = false;
int main(int argc, char *argv[])
{
global_debug = 0;
// Fixes blurry icons with fractional scaling
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
QApplication application(argc, argv);
KLocalizedString::setApplicationDomain("lskat");
......
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