fix for environments without a system tray

This commit is contained in:
Kilian Valkhof 2010-06-12 14:03:31 +02:00
parent f181fdcd00
commit 8a719be207

View file

@ -28,7 +28,8 @@ class StartQT4(QMainWindow):
self.ui = Ui_trimage() self.ui = Ui_trimage()
self.ui.setupUi(self) self.ui.setupUi(self)
self.systemtray = Systray(self) if QSystemTrayIcon.isSystemTrayAvailable():
self.systemtray = Systray(self)
self.showapp = True self.showapp = True
self.verbose = True self.verbose = True