mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 01:58:41 -05:00
fix for environments without a system tray
This commit is contained in:
parent
f181fdcd00
commit
8a719be207
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue