From 755bc245a92ed816f8d5bf6b80e780be9d35df4c Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 11 Dec 2008 19:41:36 +0000 Subject: 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 --- src/ui/playlistmodel.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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); -- cgit v1.2.3-13-gbd6f