aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/qmmpui/playlistmodel.cpp7
-rw-r--r--src/qmmpui/playlistmodel.h1
2 files changed, 7 insertions, 1 deletions
diff --git a/src/qmmpui/playlistmodel.cpp b/src/qmmpui/playlistmodel.cpp
index 52392ed64..1a5f61d55 100644
--- a/src/qmmpui/playlistmodel.cpp
+++ b/src/qmmpui/playlistmodel.cpp
@@ -604,7 +604,7 @@ void PlayListModel::showDetails(QWidget *parent)
{
QDialog *d = new DetailsDialog(selected_tracks, parent);
TagUpdater *updater = new TagUpdater(d, selected_tracks);
- connect(updater, SIGNAL(destroyed(QObject *)),SIGNAL(listChanged()));
+ connect(updater, SIGNAL(destroyed(QObject *)),SLOT(updateMetaData()));
d->show();
}
}
@@ -834,6 +834,11 @@ void PlayListModel::prepareGroups(bool enabled)
emit listChanged(STRUCTURE);
}
+void PlayListModel::updateMetaData()
+{
+ emit listChanged(STRUCTURE);
+}
+
void PlayListModel::onTaskFinished()
{
if(m_task->isChanged(m_container)) //update unchanged container only
diff --git a/src/qmmpui/playlistmodel.h b/src/qmmpui/playlistmodel.h
index a4f411f34..c71e5cb3d 100644
--- a/src/qmmpui/playlistmodel.h
+++ b/src/qmmpui/playlistmodel.h
@@ -499,6 +499,7 @@ private slots:
*/
void prepareGroups(bool enabled);
+ void updateMetaData();
void onTaskFinished();
private: