diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-05-14 12:05:29 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-05-14 12:05:29 +0000 |
| commit | 6f5a51004d91a286a4160230db9afb6b1a09d59e (patch) | |
| tree | d55a003357a5c91ac12d9757cb7133849a19edd3 | |
| parent | d8073e08b4b58ce02ef94ff124a8724f7d466cae (diff) | |
| download | qmmp-6f5a51004d91a286a4160230db9afb6b1a09d59e.tar.gz qmmp-6f5a51004d91a286a4160230db9afb6b1a09d59e.tar.bz2 qmmp-6f5a51004d91a286a4160230db9afb6b1a09d59e.zip | |
changed api
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3468 90c681e8-e032-0410-971d-27865f9a5e38
| -rw-r--r-- | src/qmmpui/playlistparser.cpp | 6 | ||||
| -rw-r--r-- | src/qmmpui/playlistparser.h | 4 |
2 files changed, 5 insertions, 5 deletions
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<PlayListFormat*> *PlayListParser::m_formats = 0; -QList<PlayListFormat*> *PlayListParser::formats() +QList<PlayListFormat *> 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<PlayListFormat*> *formats(); + static QList<PlayListFormat*> formats(); /*! * Returns a list of the supported files name filters, i.e. "*.m3u *.pls" */ |
