aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/qmmpui/playlistmodel.cpp4
-rw-r--r--src/qmmpui/playlistmodel.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/qmmpui/playlistmodel.cpp b/src/qmmpui/playlistmodel.cpp
index 0c1a0ac33..17bfc7fd9 100644
--- a/src/qmmpui/playlistmodel.cpp
+++ b/src/qmmpui/playlistmodel.cpp
@@ -236,7 +236,7 @@ void PlayListModel::clearSelection()
emit listChanged();
}
-QList <QString> PlayListModel::getTitles(int b,int l)
+QStringList PlayListModel::getTitles(int b,int l)
{
QList <QString> m_titles;
for (int i = b;(i < b + l) &&(i < m_items.size()); ++i)
@@ -244,7 +244,7 @@ QList <QString> PlayListModel::getTitles(int b,int l)
return m_titles;
}
-QList <QString> PlayListModel::getTimes(int b,int l)
+QStringList PlayListModel::getTimes(int b,int l)
{
QList <QString> m_times;
int d = 0;
diff --git a/src/qmmpui/playlistmodel.h b/src/qmmpui/playlistmodel.h
index c02160267..5c9556fe8 100644
--- a/src/qmmpui/playlistmodel.h
+++ b/src/qmmpui/playlistmodel.h
@@ -175,13 +175,13 @@ public:
* @param first First item.
* @param last Last item.
*/
- QList <QString> getTitles(int first,int last);
+ QStringList getTitles(int first,int last);
/*!
* Returns a list of the formated durations.
* @param first First item.
* @param last Last item.
*/
- QList <QString> getTimes(int first,int last);
+ QStringList getTimes(int first,int last);
/*!
* Moves the item at index position \b from to index position \b to
*/