From 3d0d61587915420c754ee8036ebead56a3c435fc Mon Sep 17 00:00:00 2001 From: Alexander Xu Date: Fri, 30 Jun 2023 09:28:03 -0700 Subject: [PATCH] fix tray icon --- kindlecomicconverter/KCC_gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kindlecomicconverter/KCC_gui.py b/kindlecomicconverter/KCC_gui.py index dc60777..6db789c 100644 --- a/kindlecomicconverter/KCC_gui.py +++ b/kindlecomicconverter/KCC_gui.py @@ -429,7 +429,7 @@ class SystemTrayIcon(QtWidgets.QSystemTrayIcon): def __init__(self): super().__init__() if self.isSystemTrayAvailable(): - QtWidgets.QSystemTrayIcon.__init__(self, GUI.icons.programIcon, MW) + self.setIcon(GUI.icons.programIcon) self.activated.connect(self.catchClicks) def catchClicks(self):