diff options
Diffstat (limited to 'src/ui/mainwindow.cpp')
| -rw-r--r-- | src/ui/mainwindow.cpp | 4 |
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; } |
