summaryrefslogtreecommitdiffstats
path: root/juk/playermanager.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-12-15 20:31:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-12-15 20:31:18 +0000
commitb00800d31c59fc4dc0028143bef4392af3a7fc55 (patch)
treee72cd3c44ad259760b87350750ce4b287d465189 /juk/playermanager.cpp
parente2de64d6f1beb9e492daf5b886e19933c1fa41dd (diff)
downloadtdemultimedia-b00800d31c59fc4dc0028143bef4392af3a7fc55.tar.gz
tdemultimedia-b00800d31c59fc4dc0028143bef4392af3a7fc55.zip
* libtunepimp updates
* kmix fixes * noatun automake patch * juk configuration dialog enhancements * hide aRTS menu entries git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1062736 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'juk/playermanager.cpp')
-rw-r--r--juk/playermanager.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/juk/playermanager.cpp b/juk/playermanager.cpp
index b60c7af5..9f784822 100644
--- a/juk/playermanager.cpp
+++ b/juk/playermanager.cpp
@@ -443,6 +443,17 @@ void PlayerManager::back()
stop();
}
+void PlayerManager::forwardAlbum()
+{
+ m_playlistInterface->playNextAlbum();
+ FileHandle file = m_playlistInterface->currentFile();
+
+ if(!file.isNull())
+ play(file);
+ else
+ stop();
+}
+
void PlayerManager::volumeUp()
{
if(!player() || !m_sliderAction || !m_sliderAction->volumeSlider())