diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-07-24 14:59:17 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-07-24 14:59:17 +0000 |
| commit | 75bc866c8a3179e8374b737318bd2fb55efbc5ed (patch) | |
| tree | 174e81226026108d6e757584231019fafd768211 /src | |
| parent | c32e2826dd6480b8056b0c8af8e2a8323dfafc13 (diff) | |
| download | qmmp-75bc866c8a3179e8374b737318bd2fb55efbc5ed.tar.gz qmmp-75bc866c8a3179e8374b737318bd2fb55efbc5ed.tar.bz2 qmmp-75bc866c8a3179e8374b737318bd2fb55efbc5ed.zip | |
status icon: middle click support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@477 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src')
| -rw-r--r-- | src/plugins/General/statusicon/statusicon.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/General/statusicon/statusicon.cpp b/src/plugins/General/statusicon/statusicon.cpp index a9a7b31f6..53d92f36f 100644 --- a/src/plugins/General/statusicon/statusicon.cpp +++ b/src/plugins/General/statusicon/statusicon.cpp @@ -105,6 +105,8 @@ void StatusIcon::trayActivated(QSystemTrayIcon::ActivationReason reason) { if (reason == QSystemTrayIcon::Trigger) m_control->toggleVisibility(); + else if (reason == QSystemTrayIcon::MiddleClick) + m_control->pause(); } void StatusIcon::enable() |
