aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-12-11 19:41:36 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-12-11 19:41:36 +0000
commit755bc245a92ed816f8d5bf6b80e780be9d35df4c (patch)
tree8036f7b901883f832c675894ad4078e7de8429e3 /src
parent9dc5748f6a3aebf2f4d12598f0ce238665e48238 (diff)
downloadqmmp-755bc245a92ed816f8d5bf6b80e780be9d35df4c.tar.gz
qmmp-755bc245a92ed816f8d5bf6b80e780be9d35df4c.tar.bz2
qmmp-755bc245a92ed816f8d5bf6b80e780be9d35df4c.zip
fixed playlists load with --enqueue option
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@677 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src')
-rw-r--r--src/ui/playlistmodel.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/playlistmodel.cpp b/src/ui/playlistmodel.cpp
index 333cd7993..ffde91ac8 100644
--- a/src/ui/playlistmodel.cpp
+++ b/src/ui/playlistmodel.cpp
@@ -465,7 +465,10 @@ void PlayListModel::addFileList(const QStringList &l)
if (f_info.isDir())
addDirectory(str);
else
+ {
addFile(str);
+ loadPlaylist(str);
+ }
}
// Do processing the rest of events to avoid GUI freezing
QApplication::processEvents(QEventLoop::AllEvents,10);