diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-01-09 14:00:42 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-01-09 14:00:42 +0000 |
| commit | a37bc1f38ef32f8e382682e3b7df16fa8a2f8d20 (patch) | |
| tree | e7d5186be7c6b8b025cf3b69d734ecc3decd2fca | |
| parent | fde56afe65ba10a6780798ff48e800e15c8b0034 (diff) | |
| download | qmmp-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
| -rw-r--r-- | src/qmmpui/playlistmodel.cpp | 7 | ||||
| -rw-r--r-- | src/qmmpui/playlistmodel.h | 1 |
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: |
