diff options
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 0b1ed5361..ca11c6874 100644 --- a/src/qmmpui/playlistmodel.cpp +++ b/src/qmmpui/playlistmodel.cpp @@ -494,7 +494,7 @@ void PlayListModel::addFileList(const QStringList &l) foreach(QString str,l) { QFileInfo f_info(str); - if (f_info.exists()) + if (f_info.exists() || str.contains("://")) { if (f_info.isDir()) addDirectory(str); @@ -515,7 +515,7 @@ bool PlayListModel::setFileList(const QStringList & l) foreach(QString str,l) { QFileInfo f_info(str); - if (f_info.exists()) + if (f_info.exists() || str.contains("://")) { if (!model_cleared) { |
