1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-04 21:27:58 +02: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(); emit playPause();
break; break;
case NX_KEYTYPE_FAST: case NX_KEYTYPE_FAST:
case NX_KEYTYPE_NEXT:
qDebug() << "emitting next pressed"; qDebug() << "emitting next pressed";
emit next(); emit next();
break; break;
case NX_KEYTYPE_REWIND: case NX_KEYTYPE_REWIND:
case NX_KEYTYPE_PREVIOUS:
qDebug() << "emitting prev pressed"; qDebug() << "emitting prev pressed";
emit previous(); emit previous();
break; break;