X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmainwin.cpp;h=8e11a291570ffae9e686fd50e3cde66b3ff73606;hp=643df3682c38011a729f7490fa2f75643ae4a6c7;hb=d5213ee34d58ffeeeb99d750d58034ee31c1e9ae;hpb=23ba965cc6d1d9918d6d1ff08a1051e22ef9052d diff --git a/src/qtui/mainwin.cpp b/src/qtui/mainwin.cpp index 643df368..8e11a291 100644 --- a/src/qtui/mainwin.cpp +++ b/src/qtui/mainwin.cpp @@ -684,7 +684,7 @@ void MainWin::closeEvent(QCloseEvent *event) { QtUiApplication* app = qobject_cast qApp; Q_ASSERT(app); if(!app->aboutToQuit() && s.value("UseSystemTrayIcon").toBool() && s.value("MinimizeOnClose").toBool()) { - hideToTray(); + toggleMinimizedToTray(); event->ignore(); } else { event->accept();