aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-05-14 12:05:29 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-05-14 12:05:29 +0000
commit6f5a51004d91a286a4160230db9afb6b1a09d59e (patch)
treed55a003357a5c91ac12d9757cb7133849a19edd3 /src
parentd8073e08b4b58ce02ef94ff124a8724f7d466cae (diff)
downloadqmmp-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
Diffstat (limited to 'src')
-rw-r--r--src/qmmpui/playlistparser.cpp6
-rw-r--r--src/qmmpui/playlistparser.h4
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"
*/