New options to add songs to play queue - 'add and play', 'append and

play', and 'insert after current'
#680
This commit is contained in:
Craig Drummond
2015-08-10 18:00:44 +01:00
committed by Craig Drummond
parent 2fc124e799
commit 8a0ccf092c
35 changed files with 220 additions and 136 deletions

View File

@@ -40,7 +40,7 @@ QVariant ActionModel::data(const QModelIndex &index, int role) const
Q_UNUSED(index)
switch(role) {
case Cantata::Role_Actions:
v.setValue<QList<Action *> >(QList<Action *>() << StdActions::self()->replacePlayQueueAction << StdActions::self()->addToPlayQueueAction);
v.setValue<QList<Action *> >(QList<Action *>() << StdActions::self()->replacePlayQueueAction << StdActions::self()->appendToPlayQueueAction);
break;
case Cantata::Role_RatingCol:
return -1;