Allow to clear the UI lock password. Closes #973.

This commit is contained in:
sledgehammer999
2013-10-24 23:23:56 +03:00
parent 12082a14b7
commit 660e0650ce
3 changed files with 13 additions and 0 deletions

View File

@@ -923,6 +923,10 @@ public:
setValue("Locking/password", md5_password);
}
void clearUILockPassword() {
remove("Locking/password");
}
QString getUILockPasswordMD5() const {
return value("Locking/password", QString()).toString();
}