aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/mediaplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmmpui/mediaplayer.cpp')
-rw-r--r--src/qmmpui/mediaplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmmpui/mediaplayer.cpp b/src/qmmpui/mediaplayer.cpp
index 53df32ba8..35f52e6e0 100644
--- a/src/qmmpui/mediaplayer.cpp
+++ b/src/qmmpui/mediaplayer.cpp
@@ -177,11 +177,11 @@ void MediaPlayer::setRepeatable(bool r)
if (r != m_repeat && !r)
{
disconnect(m_core, SIGNAL(finished()), this, SLOT(play()));
- connect(m_core, SIGNAL(finished()), SLOT(next()));
+ connect(m_core, SIGNAL(finished()), SLOT(playNext()));
}
else if (r != m_repeat && r)
{
- disconnect(m_core, SIGNAL(finished()), this, SLOT(next()));
+ disconnect(m_core, SIGNAL(finished()), this, SLOT(playNext()));
connect(m_core, SIGNAL(finished()), SLOT(play()));
}
m_repeat = r;