From 03082b6a3b6190a14e17459a420a373f2fc1c3b5 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 4 Dec 2010 09:05:25 +0000 Subject: mpris 2.0 support git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1992 90c681e8-e032-0410-971d-27865f9a5e38 --- src/ui/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/mainwindow.cpp') 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; } -- cgit v1.2.3-13-gbd6f