aboutsummaryrefslogtreecommitdiff
path: root/src/settingswidget.cpp
diff options
context:
space:
mode:
authorLibravatar Keshav Bhatt <keshavnrj@gmail.com>2022-03-30 11:43:39 +0530
committerLibravatar Keshav Bhatt <keshavnrj@gmail.com>2022-03-30 11:43:39 +0530
commitfa4012a5c3c3eb6da51b746a6061d828fb681a60 (patch)
tree6ace87e8c7bdc0b0316e1aac8181cc0f477bc38d /src/settingswidget.cpp
parent7cd4b219dabcdc28f04484219b172942f4e5a34c (diff)
downloadwhatsie-fa4012a5c3c3eb6da51b746a6061d828fb681a60.tar.gz
whatsie-fa4012a5c3c3eb6da51b746a6061d828fb681a60.zip
fix: change lock screen password beahvior
Diffstat (limited to 'src/settingswidget.cpp')
-rw-r--r--src/settingswidget.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/settingswidget.cpp b/src/settingswidget.cpp
index 473e1a2..2e2b095 100644
--- a/src/settingswidget.cpp
+++ b/src/settingswidget.cpp
@@ -672,7 +672,8 @@ void SettingsWidget::on_chnageCurrentPasswordPushButton_clicked() {
if (settings.value("asdfg").isValid()) {
QMessageBox msgBox;
msgBox.setText("You are about to change your current app lock password!"
- "\n\nThis will LogOut your current session.");
+ "\n\nThis will LogOut your current session."
+ "\nYou may also require a complete restart of Application!");
msgBox.setIconPixmap(
QPixmap(":/icons/information-line.png")
.scaled(42, 42, Qt::KeepAspectRatio, Qt::SmoothTransformation));
@@ -687,7 +688,7 @@ void SettingsWidget::on_chnageCurrentPasswordPushButton_clicked() {
msgBox.exec();
} else {
- settings.setValue("lockscreen", false);
+ settings.setValue("lockscreen", true);
showSetApplockPasswordDialog();
}
}