diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2012-12-24 16:33:56 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2012-12-24 16:33:56 +0000 |
| commit | f9fc924f74a3f50ef7210587e42131cfa98a101c (patch) | |
| tree | a8bb824a60e7e1630aa7ae3fb875efc7e26be226 /src/qmmpui/fileloader.cpp | |
| parent | 43bcb9baa18f8787a4ba27549e482c818510dae6 (diff) | |
| download | qmmp-f9fc924f74a3f50ef7210587e42131cfa98a101c.tar.gz qmmp-f9fc924f74a3f50ef7210587e42131cfa98a101c.tar.bz2 qmmp-f9fc924f74a3f50ef7210587e42131cfa98a101c.zip | |
command line: added remote playlists support (Closes issue 478)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3104 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/fileloader.cpp')
| -rw-r--r-- | src/qmmpui/fileloader.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qmmpui/fileloader.cpp b/src/qmmpui/fileloader.cpp index 4df1eec40..98e881872 100644 --- a/src/qmmpui/fileloader.cpp +++ b/src/qmmpui/fileloader.cpp @@ -87,6 +87,7 @@ void FileLoader::run() void FileLoader::loadFile(const QString &path) { m_files.enqueue(path); + MetaDataManager::instance()->prepareForAnotherThread(); m_filters = MetaDataManager::instance()->nameFilters(); start(QThread::IdlePriority); } @@ -94,6 +95,7 @@ void FileLoader::loadFile(const QString &path) void FileLoader::loadFiles(const QStringList &paths) { m_files << paths; + MetaDataManager::instance()->prepareForAnotherThread(); m_filters = MetaDataManager::instance()->nameFilters(); start(QThread::IdlePriority); } |
