From 24af8da3f8942c200ba0058341a66a888224aa3c Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 1 Nov 2010 17:54:27 +0000 Subject: changed playlist api, prepare for shortcut editor implementation, fixed direcory scan order (Closes issue 207) git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1970 90c681e8-e032-0410-971d-27865f9a5e38 --- src/ui/addurldialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/addurldialog.cpp') diff --git a/src/ui/addurldialog.cpp b/src/ui/addurldialog.cpp index dd14fe11f..5b65337db 100644 --- a/src/ui/addurldialog.cpp +++ b/src/ui/addurldialog.cpp @@ -104,7 +104,7 @@ void AddUrlDialog::accept( ) return; } } - m_model->addFile(s); //TODO fix interface freezes + m_model->add(s); } QDialog::accept(); } @@ -121,7 +121,7 @@ void AddUrlDialog::readResponse(QNetworkReply *reply) PlaylistFormat* prs = PlaylistParser::instance()->findByPath(s); if (prs) { - m_model->addFiles(prs->decode(reply->readAll())); + m_model->add(prs->decode(reply->readAll())); QDialog::accept(); } } -- cgit v1.2.3-13-gbd6f