aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 4433068..cff03ac 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -128,7 +128,10 @@ void MainWindow::initRateWidget() {
});
}
-void MainWindow::runMinimized() { this->minimizeAction->trigger(); }
+void MainWindow::runMinimized() {
+ this->minimizeAction->trigger();
+ notify("Whatsie", "Whatsie started minimized in tray");
+}
MainWindow::~MainWindow() { webEngine->deleteLater(); }
@@ -196,9 +199,7 @@ void MainWindow::updateWindowTheme() {
}
QList<QWidget *> widgets = this->findChildren<QWidget *>();
-
foreach (QWidget *w, widgets) { w->setPalette(qApp->palette()); }
-
setNotificationPresenter(webEngine->page()->profile());
if (lockWidget != nullptr) {