Skip to content

Commit

Permalink
Enable high DPI scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
puigru committed Aug 1, 2019
1 parent a7bbc89 commit 592e465
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions update_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ def closeEvent(self, event):

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

QApplication.setAttribute(Qt.AA_EnableHighDpiScaling, True)
app = QApplication([sys.argv])
app.setApplicationName('Flashpoint Updater')
app.setWindowIcon(QIcon(os.path.join(res_path, 'icon.png')))
Expand Down

0 comments on commit 592e465

Please sign in to comment.