if reason in (QtGui.QSystemTrayIcon.Trigger, QtGui.QSystemTrayIcon.DoubleClick):
self.menuProfiles = QMenuToolTip()
self.menuProfiles.setTitle("Profiles")
if reason in (QtGui.QSystemTrayIcon.Trigger, QtGui.QSystemTrayIcon.DoubleClick):
self.menuProfiles = QMenuToolTip()
self.menuProfiles.setTitle("Profiles")