minor fix

This commit is contained in:
tom 2014-03-07 14:25:12 +01:00
parent b1e94b1d9a
commit 6a89181aac

View File

@ -101,7 +101,7 @@ class SystemTrayIcon(QtGui.QSystemTrayIcon):
if is_protected:
#hide icon to avoid double clicks and glitches.
self.hide()
password, ok = QtGui.QInputDialog.getText(None, "Password", "Password:", QtGui.QLineEdit.Password)
password, ok = QtGui.QInputDialog.getText(self.myapp, "Password", "Password:", QtGui.QLineEdit.Password)
self.show()
if ok:
#do soemthing