From cc099dbec3fe59bb384356332b90e54fd893f517 Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 18 Feb 2018 16:05:19 +0100 Subject: Remove add and remove to/from playlist from toolbar The context menu entries are enough... --- playerwidget.cpp | 4 ---- 1 file changed, 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(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); -- cgit v1.2.3-70-g09d2