[Amarok] Add enqueue/dequeue shortcuts. BUG: 187542
Seb Ruiz
ruiz at kde.org
Fri Oct 2 05:58:02 CEST 2009
2009/10/2 Kevin Funk <krf at electrostorm.net>:
> + action = new KAction( KIcon( "media-track-queue-amarok" ), i18n( "Enqueue Track" ), this );
> + ac->addAction( "enqueueTrack", action );
> + action->setGlobalShortcut( KShortcut( Qt::CTRL + Qt::Key_E ) );
> + connect( action, SIGNAL( triggered() ), SIGNAL( enqueueSelection() ) );
> +
> + action = new KAction( KIcon( "media-track-queue-amarok" ), i18n( "Dequeue Track" ), this );
> + ac->addAction( "dequeueTrack", action );
> + action->setGlobalShortcut( KShortcut( Qt::CTRL + Qt::Key_D ) );
> + connect( action, SIGNAL( triggered() ), SIGNAL( dequeueSelection() ) );
Sorry, I disagree with this - there should be one key binding which
toggles the queue status of the track, which should be Ctrl+D to be
consistent with Amarok 1.4.
--
Seb Ruiz
http://www.sebruiz.net/
http://amarok.kde.org/
More information about the Amarok-devel
mailing list