1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-19 04:11:46 +02:00

* Arrow keys left/right to jump to previous/next track.

This commit is contained in:
Christian Muehlhaeuser
2013-09-07 21:45:40 +02:00
parent 3343062fcc
commit fa33c14ccc

View File

@@ -92,8 +92,10 @@ ActionCollection::initActions()
m_actionCollection[ "stop" ] = new QAction( tr( "&Stop" ), this );
m_actionCollection[ "previousTrack" ] = new QAction( tr( "&Previous Track" ), this );
m_actionCollection[ "previousTrack" ]->setIcon( ImageRegistry::instance()->icon( RESPATH "images/back-rest.svg" ) );
m_actionCollection[ "previousTrack" ]->setShortcut( QKeySequence( "Left" ) );
m_actionCollection[ "nextTrack" ] = new QAction( tr( "&Next Track" ), this );
m_actionCollection[ "nextTrack" ]->setIcon( ImageRegistry::instance()->icon( RESPATH "images/skip-rest.svg" ) );
m_actionCollection[ "nextTrack" ]->setShortcut( QKeySequence( "Right" ) );
m_actionCollection[ "quit" ] = new QAction( tr( "&Quit" ), this );
m_actionCollection[ "quit" ]->setShortcut( QKeySequence::Quit );
m_actionCollection[ "quit" ]->setShortcutContext( Qt::ApplicationShortcut );