Skip to content

Commit

Permalink
Prevent unwanted icon change on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
MCMi460 committed Jul 1, 2023
1 parent e233dea commit c098d7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,8 @@ def windowsLightMode(): # https://stackoverflow.com/a/65349866
if not bool(SystemTrayApp.windowsLightMode()):
iconFile = 'taskBarLight.png'
tray = SystemTrayApp(QIcon(getPath(iconFile)), MainWindow)
app.setWindowIcon(QIcon(getPath("icon.png")))
if platform.system() != 'Darwin':
app.setWindowIcon(QIcon(getPath("icon.png")))
window.setupUi(MainWindow)
window.selfService()

Expand Down

0 comments on commit c098d7d

Please sign in to comment.