diff options
author | 2021-05-30 19:25:48 +0530 | |
---|---|---|
committer | 2021-05-30 19:25:48 +0530 | |
commit | dbb6a8311ca0270ddaa2416f6a159ac354ff95f1 (patch) | |
tree | ccd4187895e1b56d7cc566f9e61f33404bd5afe1 /src/mainwindow.cpp | |
parent | 8f0286f1a14388169feca7ae45b0f6c1491e6f3d (diff) | |
download | whatsie-dbb6a8311ca0270ddaa2416f6a159ac354ff95f1.tar.gz whatsie-dbb6a8311ca0270ddaa2416f6a159ac354ff95f1.zip |
Save theme changes happened from web interface.
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 978bd4f..de208ef 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -314,6 +314,7 @@ void MainWindow::closeEvent(QCloseEvent *event) { settings.setValue("geometry", saveGeometry()); settings.setValue("windowState", saveState()); + settings.setValue("windowTheme",getPageTheme()); if(QSystemTrayIcon::isSystemTrayAvailable() && settings.value("closeButtonActionCombo",0).toInt() == 0){ this->hide(); |