Skip to content

Commit 592e465

Browse files
committed
Enable high DPI scaling
1 parent a7bbc89 commit 592e465

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

update_gui.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ def closeEvent(self, event):
215215

216216
res_path = getattr(sys, '_MEIPASS', os.path.dirname(os.path.abspath(__file__)))
217217

218+
QApplication.setAttribute(Qt.AA_EnableHighDpiScaling, True)
218219
app = QApplication([sys.argv])
219220
app.setApplicationName('Flashpoint Updater')
220221
app.setWindowIcon(QIcon(os.path.join(res_path, 'icon.png')))

0 commit comments

Comments
 (0)