aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Ui/skinned/mainwindow.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2020-02-19 18:32:55 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2020-02-19 18:32:55 +0000
commitdec8a9be93a1f7f1157b93f2a722f72f1b2cdc92 (patch)
tree370f71c95eca3dd46ee8842da4987fc5356e7e35 /src/plugins/Ui/skinned/mainwindow.cpp
parentc8f1c3d7a85f2c73d338401433e96a46941e7d37 (diff)
downloadqmmp-dec8a9be93a1f7f1157b93f2a722f72f1b2cdc92.tar.gz
qmmp-dec8a9be93a1f7f1157b93f2a722f72f1b2cdc92.tar.bz2
qmmp-dec8a9be93a1f7f1157b93f2a722f72f1b2cdc92.zip
added playlist transition option
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9232 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Ui/skinned/mainwindow.cpp')
-rw-r--r--src/plugins/Ui/skinned/mainwindow.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/Ui/skinned/mainwindow.cpp b/src/plugins/Ui/skinned/mainwindow.cpp
index 8d240521a..5bef7a1c0 100644
--- a/src/plugins/Ui/skinned/mainwindow.cpp
+++ b/src/plugins/Ui/skinned/mainwindow.cpp
@@ -314,6 +314,7 @@ void MainWindow::readSettings()
ACTION(ActionManager::SHUFFLE)->setChecked(m_ui_settings->isShuffle());
ACTION(ActionManager::REPEAT_TRACK)->setChecked(m_ui_settings->isRepeatableTrack());
ACTION(ActionManager::NO_PL_ADVANCE)->setChecked(m_ui_settings->isNoPlayListAdvance());
+ ACTION(ActionManager::TRANSIT_BETWEEN_PLAYLISTS)->setChecked(m_ui_settings->isPlayListTransitionEnabled());
m_update = true;
}
#ifdef QMMP_WS_X11
@@ -444,8 +445,11 @@ void MainWindow::createActions()
plMenu->addAction(SET_ACTION(ActionManager::SHUFFLE, m_ui_settings, SLOT(setShuffle(bool))));
plMenu->addAction(SET_ACTION(ActionManager::NO_PL_ADVANCE, m_ui_settings,
SLOT(setNoPlayListAdvance(bool))));
+ plMenu->addAction(SET_ACTION(ActionManager::TRANSIT_BETWEEN_PLAYLISTS, m_ui_settings,
+ SLOT(setPlayListTransitionEnabled(bool))));
plMenu->addAction(SET_ACTION(ActionManager::STOP_AFTER_SELECTED, m_pl_manager,
SLOT(stopAfterSelected())));
+
plMenu->addAction(SET_ACTION(ActionManager::CLEAR_QUEUE, m_pl_manager, SLOT(clearQueue())));
connect(m_ui_settings, SIGNAL(repeatableListChanged(bool)),
ACTION(ActionManager::REPEAT_ALL), SLOT(setChecked(bool)));
@@ -455,6 +459,8 @@ void MainWindow::createActions()
ACTION(ActionManager::NO_PL_ADVANCE), SLOT(setChecked(bool)));
connect(m_ui_settings, SIGNAL(shuffleChanged(bool)),
ACTION(ActionManager::SHUFFLE), SLOT(setChecked(bool)));
+ connect(m_ui_settings, SIGNAL(playListTransitionChanged(bool)),
+ ACTION(ActionManager::TRANSIT_BETWEEN_PLAYLISTS), SLOT(setChecked(bool)));
QMenu *audioMenu = m_mainMenu->addMenu(tr("Audio"));
audioMenu->addAction(SET_ACTION(ActionManager::VOL_ENC, m_core, SLOT(volumeUp())));