##// END OF EJS Templates
Backport PR #12314: Enable high DPI scaling in qt.py
Matthias Bussonnier -
Show More
@@ -25,6 +25,7 def inputhook(context):
25 'variable. Deactivate Qt5 code.'
25 'variable. Deactivate Qt5 code.'
26 )
26 )
27 return
27 return
28 QtCore.QCoreApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling)
28 _appref = app = QtGui.QApplication([" "])
29 _appref = app = QtGui.QApplication([" "])
29 event_loop = QtCore.QEventLoop(app)
30 event_loop = QtCore.QEventLoop(app)
30
31
General Comments 0
You need to be logged in to leave comments. Login now