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:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user