projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3fcd2ac
)
mac builds will not have minimize to tray on left click (which should be a problem...
author
Alexander von Renteln
<phon@quassel-irc.org>
Wed, 6 Feb 2008 00:37:48 +0000
(
00:37
+0000)
committer
Alexander von Renteln
<phon@quassel-irc.org>
Wed, 6 Feb 2008 00:37:48 +0000
(
00:37
+0000)
src/qtui/mainwin.cpp
patch
|
blob
|
history
diff --git
a/src/qtui/mainwin.cpp
b/src/qtui/mainwin.cpp
index
b7199dc
..
2c20680
100644
(file)
--- a/
src/qtui/mainwin.cpp
+++ b/
src/qtui/mainwin.cpp
@@
-253,11
+253,13
@@
void MainWin::setupSystray() {
systrayMenu->addSeparator();
systrayMenu->addAction(ui.actionQuit);
systrayMenu->addSeparator();
systrayMenu->addAction(ui.actionQuit);
-
//
systray->setContextMenu(systrayMenu);
+ systray->setContextMenu(systrayMenu);
systray->show();
systray->show();
+ #ifndef Q_WS_MAC
connect(systray, SIGNAL(activated( QSystemTrayIcon::ActivationReason )),
this, SLOT(systrayActivated( QSystemTrayIcon::ActivationReason )));
connect(systray, SIGNAL(activated( QSystemTrayIcon::ActivationReason )),
this, SLOT(systrayActivated( QSystemTrayIcon::ActivationReason )));
+ #endif
}
void MainWin::connectedToCore() {
}
void MainWin::connectedToCore() {
@@
-339,9
+341,6
@@
void MainWin::systrayActivated( QSystemTrayIcon::ActivationReason activationReas
hide();
}
}
hide();
}
}
- else {
- systrayMenu->popup(QCursor::pos());
- }
}
void MainWin::showNetworkDlg() {
}
void MainWin::showNetworkDlg() {