temporarily removed system tray check
This commit is contained in:
parent
2093b1173e
commit
da66d607e1
|
@ -195,10 +195,11 @@ class Thread(QThread):
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
import sys
|
import sys
|
||||||
app = QApplication(sys.argv)
|
app = QApplication(sys.argv)
|
||||||
if not QSystemTrayIcon.isSystemTrayAvailable():
|
# Some DE are not response adequately on it, trying to ignore tray check
|
||||||
QMessageBox.critical(None, "Mail notifier",
|
# if not QSystemTrayIcon.isSystemTrayAvailable():
|
||||||
"I couldn't detect any system tray on this system.")
|
# QMessageBox.critical(None, "Mail notifier",
|
||||||
sys.exit(1)
|
# "I couldn't detect any system tray on this system.")
|
||||||
|
# sys.exit(1)
|
||||||
QApplication.setQuitOnLastWindowClosed(False)
|
QApplication.setQuitOnLastWindowClosed(False)
|
||||||
window = Window()
|
window = Window()
|
||||||
if SettingsExist():
|
if SettingsExist():
|
||||||
|
|
Loading…
Reference in New Issue