mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 22:26:32 +02:00
Merge pull request #77 from anselmolsm/master
Play/Pause when system tray receives a mouse middle click
This commit is contained in:
@@ -200,6 +200,12 @@ TomahawkTrayIcon::onActivated( QSystemTrayIcon::ActivationReason reason )
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case QSystemTrayIcon::MiddleClick:
|
||||||
|
{
|
||||||
|
AudioEngine::instance()->playPause();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user