Git commit d814a8bd4d226e73b770685bb6c20d404ed21bdb by Jan Kundr?t.
Committed on 05/06/2013 at 01:32.
Pushed by jkt into branch 'master'.

GUI: make sure the systray is updated after the IMAP model got replaced

REVIEW: 110832

M  +2    -0    src/Gui/Window.cpp

http://commits.kde.org/trojita/d814a8bd4d226e73b770685bb6c20d404ed21bdb

diff --git a/src/Gui/Window.cpp b/src/Gui/Window.cpp
index f4fdb63..d91fab0 100644
--- a/src/Gui/Window.cpp
+++ b/src/Gui/Window.cpp
@@ -1054,6 +1054,8 @@ void MainWindow::slotShowSettings()
         nukeModels();
         setupModels();
         connectModelActions();
+        // The systray is still connected to the old model -- got to make sure 
it's getting updated
+        removeSysTray();
         slotToggleSysTray();
     }
     QString method = 
QSettings().value(Common::SettingsNames::imapMethodKey).toString();

Reply via email to