Commit 78c87e62 authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Fix blurry icons by adding UseHighDpiPixmaps flag

Diffrential revision: https://phabricator.kde.org/D29681
parent 3aeb0778
...@@ -30,6 +30,7 @@ import logging ...@@ -30,6 +30,7 @@ import logging
from qt import QObject from qt import QObject
from PyQt5.QtGui import QGuiApplication from PyQt5.QtGui import QGuiApplication
from PyQt5 import QtCore
from kde import KApplication, KCmdLineArgs, KCmdLineOptions, KGlobal from kde import KApplication, KCmdLineArgs, KCmdLineOptions, KGlobal
from mi18n import i18n from mi18n import i18n
from about import About from about import About
...@@ -187,5 +188,6 @@ if Options.csv: ...@@ -187,5 +188,6 @@ if Options.csv:
Options.csv) Options.csv)
sys.exit(2) sys.exit(2)
from mainwindow import MainWindow from mainwindow import MainWindow
QGuiApplication.setAttribute(QtCore.Qt.AA_UseHighDpiPixmaps, True)
MainWindow() MainWindow()
Internal.app.exec_() Internal.app.exec_()
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