Skip to content

Commit

Permalink
firewall-applet: Do not use isSystemTrayAvailable check to fix KDE5 s…
Browse files Browse the repository at this point in the history
…tartup
  • Loading branch information
t-woerner committed Jun 12, 2015
1 parent 5154d91 commit 72ab1cc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/firewall-applet
Original file line number Diff line number Diff line change
Expand Up @@ -892,11 +892,6 @@ Options:
app = QtGui.QApplication(sys.argv)
app.setQuitOnLastWindowClosed(False)

if not QtGui.QSystemTrayIcon.isSystemTrayAvailable():
QtGui.QMessageBox.critical(None, "Systray",
fromUTF8(escape(_("No system tray available"))))
sys.exit(1)

applet = TrayApplet()
applet.show()
sys.exit(app.exec_())

0 comments on commit 72ab1cc

Please sign in to comment.