projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
23ba965
)
fix restore via systray icon ignoring first click
author
Daniel Albers
<daniel@lbers.com>
Mon, 2 Feb 2009 10:01:11 +0000
(11:01 +0100)
committer
Marcus Eggenberger
<egs@quassel-irc.org>
Mon, 2 Feb 2009 12:36:55 +0000
(13:36 +0100)
src/qtui/mainwin.cpp
patch
|
blob
|
history
diff --git
a/src/qtui/mainwin.cpp
b/src/qtui/mainwin.cpp
index
643df36
..
8e11a29
100644
(file)
--- a/
src/qtui/mainwin.cpp
+++ b/
src/qtui/mainwin.cpp
@@
-684,7
+684,7
@@
void MainWin::closeEvent(QCloseEvent *event) {
QtUiApplication* app = qobject_cast<QtUiApplication*> qApp;
Q_ASSERT(app);
if(!app->aboutToQuit() && s.value("UseSystemTrayIcon").toBool() && s.value("MinimizeOnClose").toBool()) {
QtUiApplication* app = qobject_cast<QtUiApplication*> qApp;
Q_ASSERT(app);
if(!app->aboutToQuit() && s.value("UseSystemTrayIcon").toBool() && s.value("MinimizeOnClose").toBool()) {
-
hide
ToTray();
+
toggleMinimized
ToTray();
event->ignore();
} else {
event->accept();
event->ignore();
} else {
event->accept();