diff options
Diffstat (limited to 'dgedit/audioextractor.cc')
-rw-r--r-- | dgedit/audioextractor.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dgedit/audioextractor.cc b/dgedit/audioextractor.cc index 8a08135..92ed4d6 100644 --- a/dgedit/audioextractor.cc +++ b/dgedit/audioextractor.cc @@ -129,11 +129,11 @@ void AudioExtractor::addFile(QString file, QString name) audiofiles.push_back(pair); } -void AudioExtractor::removeFile(QString file) +void AudioExtractor::removeFile(QString file, QString name) { QVector< QPair<QString, QString> >::iterator j = audiofiles.begin(); while(j != audiofiles.end()) { - if(file == j->first) { + if(file == j->first && name == j->second) { audiofiles.erase(j); return; } |