1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-19 23:39:42 +01:00

* Patch from Felix Paul Kuehne: Support previous & next keyboard shortcuts used by third-party keyboard vendors.

This commit is contained in:
Christian Muehlhaeuser 2012-12-24 12:39:56 +01:00
parent fa1fa93b09
commit cf36ca82ac

View File

@ -39,10 +39,12 @@ MacShortcutHandler::macMediaKeyPressed( int key )
emit playPause();
break;
case NX_KEYTYPE_FAST:
case NX_KEYTYPE_NEXT:
qDebug() << "emitting next pressed";
emit next();
break;
case NX_KEYTYPE_REWIND:
case NX_KEYTYPE_PREVIOUS:
qDebug() << "emitting prev pressed";
emit previous();
break;