aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/mediaplayer.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-09-15 15:54:18 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-09-15 15:54:18 +0000
commit8ba3c4bc2f133794b60d8224ef1d844fb6903344 (patch)
tree816e56a4f42d32266518c1ecc3cbba78987f8bfa /src/qmmpui/mediaplayer.cpp
parent095abc2e238556b3b89f55a6c7885450e3e3385b (diff)
downloadqmmp-8ba3c4bc2f133794b60d8224ef1d844fb6903344.tar.gz
qmmp-8ba3c4bc2f133794b60d8224ef1d844fb6903344.tar.bz2
qmmp-8ba3c4bc2f133794b60d8224ef1d844fb6903344.zip
fixed some bugs, removed unused code
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1222 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/mediaplayer.cpp')
-rw-r--r--src/qmmpui/mediaplayer.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/qmmpui/mediaplayer.cpp b/src/qmmpui/mediaplayer.cpp
index d0f55ba9e..43038724e 100644
--- a/src/qmmpui/mediaplayer.cpp
+++ b/src/qmmpui/mediaplayer.cpp
@@ -65,7 +65,6 @@ void MediaPlayer::initialize(SoundCore *core, PlayListModel *model)
m_repeat = FALSE;
connect(m_core, SIGNAL(aboutToFinish()), SLOT(updateNextUrl()));
connect(m_core, SIGNAL(finished()), SLOT(next()));
- //connect(m_model, SIGNAL(listChanged()), SLOT(updateNextUrl()));
}
PlayListModel *MediaPlayer::playListModel()
@@ -80,7 +79,6 @@ bool MediaPlayer::isRepeatable() const
void MediaPlayer::play()
{
- //disconnect(m_model, SIGNAL(listChanged()), this, SLOT(updateNextUrl()));
m_model->doCurrentVisibleRequest();
if (m_core->state() == Qmmp::Paused)
{
@@ -139,11 +137,7 @@ void MediaPlayer::play()
}
}
else
- {
m_skips = 0;
- /*updateNextUrl();
- connect(m_model, SIGNAL(listChanged()), this, SLOT(updateNextUrl()));*/
- }
}
void MediaPlayer::stop()
@@ -154,7 +148,6 @@ void MediaPlayer::stop()
void MediaPlayer::next()
{
- //disconnect(m_model, SIGNAL(listChanged()), this, SLOT(updateNextUrl()));
if (!m_model->isEmptyQueue())
{
m_model->setCurrentToQueued();
@@ -175,7 +168,6 @@ void MediaPlayer::next()
void MediaPlayer::previous()
{
- //disconnect(m_model, SIGNAL(listChanged()), this, SLOT(updateNextUrl()));
if (!m_model->previous())
{
stop();
@@ -204,7 +196,6 @@ void MediaPlayer::setRepeatable(bool r)
}
m_repeat = r;
emit repeatableChanged(r);
- //updateNextUrl();
}
void MediaPlayer::updateNextUrl()