From dbb6a8311ca0270ddaa2416f6a159ac354ff95f1 Mon Sep 17 00:00:00 2001 From: Keshav Bhatt Date: Sun, 30 May 2021 19:25:48 +0530 Subject: Save theme changes happened from web interface. --- snap_launcher/bin/whatsie | Bin 1713920 -> 1713920 bytes src/mainwindow.cpp | 1 + 2 files changed, 1 insertion(+) diff --git a/snap_launcher/bin/whatsie b/snap_launcher/bin/whatsie index d25e4e6..3096854 100755 Binary files a/snap_launcher/bin/whatsie and b/snap_launcher/bin/whatsie differ 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(); -- cgit v1.2.3