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/D29642
This commit is contained in:
parent
8016bbb620
commit
497a3d9a98
1 changed files with 2 additions and 1 deletions
|
@ -42,9 +42,10 @@ namespace Kigo { /* This is only a Doxygen stub */ }
|
|||
*/
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
// Fixes blurry icons with fractional scaling
|
||||
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||
QApplication app(argc, argv);
|
||||
|
||||
|
||||
Kdelibs4ConfigMigrator migrate(QStringLiteral("kigo"));
|
||||
migrate.setConfigFiles(QStringList() << QStringLiteral("kigorc"));
|
||||
migrate.setUiFiles(QStringList() << QStringLiteral("kigoui.rc"));
|
||||
|
|
Loading…
Add table
Reference in a new issue