aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmmpui')
-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"
*/