diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-08-13 13:03:27 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-08-13 13:03:27 +0000 |
| commit | 3423cc3621abea72c9f9d1b11bec219137f75f44 (patch) | |
| tree | af133d0e2465f00df0ff7d3e0baec0eda15c6d76 /src/qmmpui/fileloader.cpp | |
| parent | 91bec81b83ce201a0c06cc70372207964d712d2c (diff) | |
| download | qmmp-3423cc3621abea72c9f9d1b11bec219137f75f44.tar.gz qmmp-3423cc3621abea72c9f9d1b11bec219137f75f44.tar.bz2 qmmp-3423cc3621abea72c9f9d1b11bec219137f75f44.zip | |
added some optimizations
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3587 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/fileloader.cpp')
| -rw-r--r-- | src/qmmpui/fileloader.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qmmpui/fileloader.cpp b/src/qmmpui/fileloader.cpp index d4ce69002..ef1caf8e1 100644 --- a/src/qmmpui/fileloader.cpp +++ b/src/qmmpui/fileloader.cpp @@ -39,6 +39,7 @@ void FileLoader::addFile(const QString &path) QList <FileInfo *> playList = MetaDataManager::instance()->createPlayList(path, use_meta); foreach(FileInfo *info, playList) emit newPlayListTrack(new PlayListTrack(info)); + qDeleteAll(playList); } void FileLoader::addDirectory(const QString& s) |
