aboutsummaryrefslogtreecommitdiff
path: root/src/ui/mainwindow.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-12-04 09:05:25 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-12-04 09:05:25 +0000
commit03082b6a3b6190a14e17459a420a373f2fc1c3b5 (patch)
treecdedd7803880b256a13fcc93927bb2dcb17ccb2b /src/ui/mainwindow.cpp
parentaa3f57c0236c77f2fd90415fc1f3062a93b25b93 (diff)
downloadqmmp-03082b6a3b6190a14e17459a420a373f2fc1c3b5.tar.gz
qmmp-03082b6a3b6190a14e17459a420a373f2fc1c3b5.tar.bz2
qmmp-03082b6a3b6190a14e17459a420a373f2fc1c3b5.zip
mpris 2.0 support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1992 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/ui/mainwindow.cpp')
-rw-r--r--src/ui/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp
index 5fb0458f9..b501aa67d 100644
--- a/src/ui/mainwindow.cpp
+++ b/src/ui/mainwindow.cpp
@@ -564,7 +564,7 @@ void MainWindow::setFileList(const QStringList &l, bool clear)
}
m_model = m_pl_manager->selectedPlayList();
m_model->clear();
- connect(m_model, SIGNAL(firstAdded()), SLOT(play()));
+ connect(m_model, SIGNAL(itemAdded(PlayListItem*)), SLOT(play()));
connect(m_model, SIGNAL(loaderFinished()), SLOT(disconnectPl()));
m_model->add(l);
}
@@ -631,7 +631,7 @@ void MainWindow::disconnectPl()
{
if(m_model)
{
- disconnect(m_model, SIGNAL(firstAdded()), this, SLOT(play()));
+ disconnect(m_model, SIGNAL(itemAdded(PlayListItem*)), this, SLOT(play()));
disconnect(m_model, SIGNAL(loaderFinished()), this, SLOT(disconnectPl()));
m_model = 0;
}