diff options
-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); |