diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-07-04 19:26:54 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-07-04 19:26:54 +0000 |
| commit | e2f5fbf78d3c02cefe68a4cc8711577576c4fddb (patch) | |
| tree | e7b0d0fea4191ecdc0bdff0191a8f9feae043f13 /src/qmmpui/detailsdialog.cpp | |
| parent | 20035f2d26e693352328c703a382d0ba86f7708a (diff) | |
| download | qmmp-e2f5fbf78d3c02cefe68a4cc8711577576c4fddb.tar.gz qmmp-e2f5fbf78d3c02cefe68a4cc8711577576c4fddb.tar.bz2 qmmp-e2f5fbf78d3c02cefe68a4cc8711577576c4fddb.zip | |
fixed track metadata updating issue
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8099 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/detailsdialog.cpp')
| -rw-r--r-- | src/qmmpui/detailsdialog.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/qmmpui/detailsdialog.cpp b/src/qmmpui/detailsdialog.cpp index 705ed7f91..b54609871 100644 --- a/src/qmmpui/detailsdialog.cpp +++ b/src/qmmpui/detailsdialog.cpp @@ -89,6 +89,13 @@ void DetailsDialog::on_buttonBox_clicked(QAbstractButton *button) } else reject(); + + //close all files before closing dialog + if(m_metaDataModel) + { + delete m_metaDataModel; + m_metaDataModel = 0; + } } void DetailsDialog::on_tabWidget_currentChanged(int index) |
