Scale for hidpi pixmaps too

bar_select
Tyler Goodlet 2020-09-29 16:24:59 -04:00
parent 2302e59f1d
commit 18097fc33b
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@ from outcome import Error
if hasattr(Qt, 'AA_EnableHighDpiScaling'):
QCoreApplication.setAttribute(Qt.AA_EnableHighDpiScaling, True)
# if hasattr(Qt, 'AA_UseHighDpiPixmaps'):
# QCoreApplication.setAttribute(Qt.AA_UseHighDpiPixmaps, True)
if hasattr(Qt, 'AA_UseHighDpiPixmaps'):
QCoreApplication.setAttribute(Qt.AA_UseHighDpiPixmaps, True)
class MainWindow(QtGui.QMainWindow):