Commit 2293c8c5 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/D29655
parent 92214204
......@@ -43,7 +43,9 @@ static const char description[] =
int main(int argc, char **argv)
{
qsrand(std::time(nullptr));
QApplication app(argc, argv);
// Fixes blurry icons with fractional scaling
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
QApplication app(argc, argv);
KLocalizedString::setApplicationDomain("ksudoku");
KAboutData about(QStringLiteral("ksudoku"),
......
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