From 0e9d21145a61416615419dc97a801a82f3e97fe6 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 22 Dec 2012 09:13:31 +0000 Subject: changed PlayListParser class git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3083 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/playlistmodel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qmmpui/playlistmodel.cpp') diff --git a/src/qmmpui/playlistmodel.cpp b/src/qmmpui/playlistmodel.cpp index 30f7cfe3c..6f67e6e22 100644 --- a/src/qmmpui/playlistmodel.cpp +++ b/src/qmmpui/playlistmodel.cpp @@ -840,7 +840,7 @@ void PlayListModel::doCurrentVisibleRequest() void PlayListModel::loadPlaylist(const QString &f_name) { - PlayListFormat* prs = PlayListParser::instance()->findByPath(f_name); + PlayListFormat* prs = PlayListParser::findByPath(f_name); if(!prs) { //qWarning("PlayListModel: unsupported playlist format"); @@ -874,7 +874,7 @@ void PlayListModel::loadPlaylist(const QString &f_name) void PlayListModel::savePlaylist(const QString & f_name) { - PlayListFormat* prs = PlayListParser::instance()->findByPath(f_name); + PlayListFormat* prs = PlayListParser::findByPath(f_name); if (prs) { QFile file(f_name); -- cgit v1.2.3-13-gbd6f