Commit bd63a7eb 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 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/D29650
parent 75e4d8aa
......@@ -47,6 +47,8 @@ static const char notice[] = I18N_NOOP("(c) 1998-2000, Matthias Kiefer\n"
int main(int argc, char* argv[])
{
// Fixes blurry icons with fractional scaling
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
QApplication app(argc, argv);
KLocalizedString::setApplicationDomain("ksnakeduel");
......
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