diff options
author | Arno <arno@disconnect.de> | 2018-02-18 16:05:19 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2018-02-18 16:05:19 +0100 |
commit | cc099dbec3fe59bb384356332b90e54fd893f517 (patch) | |
tree | f3b7d8bb5139d8fbbf3c580ab727ceff841b494f | |
parent | 3cb953f04539430a75eb501a1655df59bc285d16 (diff) | |
download | BeetPlayer-cc099dbec3fe59bb384356332b90e54fd893f517.tar.gz BeetPlayer-cc099dbec3fe59bb384356332b90e54fd893f517.tar.bz2 BeetPlayer-cc099dbec3fe59bb384356332b90e54fd893f517.zip |
Remove add and remove to/from playlist from toolbar
The context menu entries are enough...
-rw-r--r-- | playerwidget.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/playerwidget.cpp b/playerwidget.cpp index 444ef56..796ed71 100644 --- a/playerwidget.cpp +++ b/playerwidget.cpp @@ -375,8 +375,6 @@ void PlayerWidget::createActions(){ nextA->setObjectName("beetPlayerNext"); connect(nextA, &QAction::triggered, this, &PlayerWidget::next); KGlobalAccel::self()->setShortcut(nextA, QList<QKeySequence>() << QKeySequence(Qt::Key_Launch3), KGlobalAccel::Autoloading); - QAction *addToPlayListA = new QAction(QIcon(":/belly_right.png"), tr("Add to playlist"), this); - connect(addToPlayListA, &QAction::triggered, this, &PlayerWidget::addToPlayList); QAction *addToPlayListAndClearA = new QAction(QIcon(":/belly_right_and_clear.png"), tr("Clear and add"), this); connect(addToPlayListAndClearA, &QAction::triggered, this, &PlayerWidget::addToPlayListAndClear); QAction *removeFromPlayListA = new QAction(QIcon(":/belly_left.png"), tr("Remove from playlist"), this); @@ -432,8 +430,6 @@ void PlayerWidget::createActions(){ mToolBar->addAction(previousA); mToolBar->addAction(nextA); mToolBar->addSeparator(); - mToolBar->addAction(addToPlayListA); - mToolBar->addAction(removeFromPlayListA); mToolBar->addAction(clearPlayListA); mToolBar->addAction(shufflePlayistA); mToolBar->addAction(randomPlayA); |