From 6f5a51004d91a286a4160230db9afb6b1a09d59e Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 14 May 2013 12:05:29 +0000 Subject: changed api git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3468 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/playlistparser.cpp | 6 +++--- src/qmmpui/playlistparser.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/qmmpui/playlistparser.cpp b/src/qmmpui/playlistparser.cpp index 830d634d8..52cfa5c9b 100644 --- a/src/qmmpui/playlistparser.cpp +++ b/src/qmmpui/playlistparser.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008-2012 by Ilya Kotov * + * Copyright (C) 2008-2013 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -29,10 +29,10 @@ QList *PlayListParser::m_formats = 0; -QList *PlayListParser::formats() +QList PlayListParser::formats() { checkFormats(); - return m_formats; + return *m_formats; } QStringList PlayListParser::nameFilters() diff --git a/src/qmmpui/playlistparser.h b/src/qmmpui/playlistparser.h index 00dc4d24d..b2fdc44c9 100644 --- a/src/qmmpui/playlistparser.h +++ b/src/qmmpui/playlistparser.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008-2012 by Ilya Kotov * + * Copyright (C) 2008-2013 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -33,7 +33,7 @@ public: /*! * Returns a list of the installed playlist formats. */ - static QList *formats(); + static QList formats(); /*! * Returns a list of the supported files name filters, i.e. "*.m3u *.pls" */ -- cgit v1.2.3-13-gbd6f