From aecb3aac92ced1ef2c03765ffe33055a2debc556 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 31 May 2009 08:03:01 +0000 Subject: fixed: adding streams from command line git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@960 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/playlistmodel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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) { -- cgit v1.2.3-13-gbd6f