1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 15:59:42 +01:00

Merge pull request #77 from anselmolsm/master

Play/Pause when system tray receives a mouse middle click
This commit is contained in:
Leo Franchi 2012-03-05 12:20:13 -08:00
commit aa078e86e5

View File

@ -200,6 +200,12 @@ TomahawkTrayIcon::onActivated( QSystemTrayIcon::ActivationReason reason )
}
break;
case QSystemTrayIcon::MiddleClick:
{
AudioEngine::instance()->playPause();
}
break;
default:
break;
}