diff options
author | 2022-03-30 11:43:39 +0530 | |
---|---|---|
committer | 2022-03-30 11:43:39 +0530 | |
commit | fa4012a5c3c3eb6da51b746a6061d828fb681a60 (patch) | |
tree | 6ace87e8c7bdc0b0316e1aac8181cc0f477bc38d /src | |
parent | 7cd4b219dabcdc28f04484219b172942f4e5a34c (diff) | |
download | whatsie-fa4012a5c3c3eb6da51b746a6061d828fb681a60.tar.gz whatsie-fa4012a5c3c3eb6da51b746a6061d828fb681a60.zip |
fix: change lock screen password beahvior
Diffstat (limited to 'src')
-rw-r--r-- | src/mainwindow.cpp | 2 | ||||
-rw-r--r-- | src/settingswidget.cpp | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index ecb4141..b9ec4f5 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -173,7 +173,7 @@ void MainWindow::updateWindowTheme() { if (settings.value("windowTheme", "light").toString() == "dark") { qApp->setPalette(darkPalette); this->webEngine->setStyleSheet( - "QWebEngineView{background:rgb(17, 27, 33);}"); // whatsapp dark color + "QWebEngineView{background:rgb(17, 27, 33);}"); // whatsapp dark color } else { qApp->setPalette(lightPalette); this->webEngine->setStyleSheet( 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(); } } |