diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2012-12-22 19:16:29 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2012-12-22 19:16:29 +0000 |
| commit | aecf8592751e7beb682fcd5bc8c5b1d38335fa84 (patch) | |
| tree | cf267363944faafb7b29370d27f6ae19fbcc7647 /src/qmmpui/playlistmodel.cpp | |
| parent | 954146ff9b69591f0cf3895e96922bb55ad88502 (diff) | |
| download | qmmp-aecf8592751e7beb682fcd5bc8c5b1d38335fa84.tar.gz qmmp-aecf8592751e7beb682fcd5bc8c5b1d38335fa84.tar.bz2 qmmp-aecf8592751e7beb682fcd5bc8c5b1d38335fa84.zip | |
libqmmpui: added URL dialog implementation, added PlayListDownloader
class
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3089 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/playlistmodel.cpp')
| -rw-r--r-- | src/qmmpui/playlistmodel.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/qmmpui/playlistmodel.cpp b/src/qmmpui/playlistmodel.cpp index 6f67e6e22..83038a2bd 100644 --- a/src/qmmpui/playlistmodel.cpp +++ b/src/qmmpui/playlistmodel.cpp @@ -841,11 +841,8 @@ void PlayListModel::doCurrentVisibleRequest() void PlayListModel::loadPlaylist(const QString &f_name) { PlayListFormat* prs = PlayListParser::findByPath(f_name); - if(!prs) - { - //qWarning("PlayListModel: unsupported playlist format"); + if(!prs || !QFile::exists(f_name)) return; - } QFile file(f_name); if (!file.open(QIODevice::ReadOnly)) |
