diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-04-03 18:45:03 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-04-03 18:45:03 +0000 |
| commit | f5effb9a659b0b8d8fe8ff273b2caef839dfb805 (patch) | |
| tree | 2ac2e73e23ea9be7c47bf5baa67011c9c9a12d63 /src | |
| parent | 4b16039b2c08f3594e3de1f328969c0eefdaca3e (diff) | |
| download | qmmp-f5effb9a659b0b8d8fe8ff273b2caef839dfb805.tar.gz qmmp-f5effb9a659b0b8d8fe8ff273b2caef839dfb805.tar.bz2 qmmp-f5effb9a659b0b8d8fe8ff273b2caef839dfb805.zip | |
using canonical file paths (fixes drag&drop issue)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4228 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src')
| -rw-r--r-- | src/qmmpui/playlistmodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmmpui/playlistmodel.cpp b/src/qmmpui/playlistmodel.cpp index 555ccd59e..62a5003e6 100644 --- a/src/qmmpui/playlistmodel.cpp +++ b/src/qmmpui/playlistmodel.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright(C) 2006-2013 by Ilya Kotov * + * Copyright(C) 2006-2014 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -229,7 +229,7 @@ void PlayListModel::insert(int index, const QList<QUrl> &urls) foreach (QUrl url, urls) { if(url.scheme() == "file") - paths.append(QFileInfo(url.toLocalFile()).absoluteFilePath()); + paths.append(QFileInfo(url.toLocalFile()).canonicalFilePath()); else paths.append(url.toString()); } |
