From 895ae02efc82a05674f6c74cda927a052cf2e0fb Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 13 May 2015 16:42:30 +0000 Subject: fixed issue with native separators (#755) git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4970 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/fileloader.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/qmmpui/fileloader.cpp') diff --git a/src/qmmpui/fileloader.cpp b/src/qmmpui/fileloader.cpp index 3bb505108..4a7029c8f 100644 --- a/src/qmmpui/fileloader.cpp +++ b/src/qmmpui/fileloader.cpp @@ -21,6 +21,7 @@ #include #include #include +#include #include "fileloader_p.h" #include "qmmpuisettings.h" #include "playlistitem.h" @@ -172,7 +173,7 @@ void FileLoader::insert(PlayListItem *before, const QStringList &paths) { LoaderTask task; task.before = before; - task.path = path; + task.path = QDir::fromNativeSeparators(path); m_tasks.append(task); } m_mutex.unlock(); -- cgit v1.2.3-13-gbd6f