Make icons sharp in HiDPI screen
This commit is contained in:
1 parent
d2d7dc2c8f
commit
75ace25c57
1 file changed
+2
@@ -1059,6 +1059,8 @@ def main():
|
||||
app = QtWidgets.QApplication(sys.argv)
|
||||
app.setApplicationName('Lector') # This is needed for QStandardPaths
|
||||
# and my own hubris
|
||||
# Make icons sharp in HiDPI screen
|
||||
app.setAttribute(QtCore.Qt.AA_UseHighDpiPixmaps, True)
|
||||
|
||||
# Internationalization support
|
||||
translator = QtCore.QTranslator()
|
||||
|
||||
Reference in new issue
Block a user