Remove some platform independent code for a while

This commit is contained in:
Manuel Cortez 2022-02-24 16:26:05 -06:00
parent fcb2ce119b
commit c6865a7742
No known key found for this signature in database
GPG Key ID: 9E0735CA15EFE790

View File

@ -225,7 +225,6 @@ class Controller(object):
self.current_account = ""
self.view.prepare()
self.bind_other_events()
if system == "Windows":
self.set_systray_icon()
def check_invisible_at_startup(self):
@ -641,7 +640,6 @@ class Controller(object):
sessions.sessions[item].sound.cleaner.cancel()
log.debug("Saving database for " + sessions.sessions[item].session_id)
sessions.sessions[item].save_persistent_data()
if system == "Windows":
self.systrayIcon.RemoveIcon()
pidpath = os.path.join(os.getenv("temp"), "{}.pid".format(application.name))
if os.path.exists(pidpath):