aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/playlistmodel.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-01-09 14:00:42 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-01-09 14:00:42 +0000
commita37bc1f38ef32f8e382682e3b7df16fa8a2f8d20 (patch)
treee7d5186be7c6b8b025cf3b69d734ecc3decd2fca /src/qmmpui/playlistmodel.cpp
parentfde56afe65ba10a6780798ff48e800e15c8b0034 (diff)
downloadqmmp-a37bc1f38ef32f8e382682e3b7df16fa8a2f8d20.tar.gz
qmmp-a37bc1f38ef32f8e382682e3b7df16fa8a2f8d20.tar.bz2
qmmp-a37bc1f38ef32f8e382682e3b7df16fa8a2f8d20.zip
fixed metadata update
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4679 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/playlistmodel.cpp')
-rw-r--r--src/qmmpui/playlistmodel.cpp7
1 files changed, 6 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