aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/playlistmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmmpui/playlistmodel.h')
-rw-r--r--src/qmmpui/playlistmodel.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qmmpui/playlistmodel.h b/src/qmmpui/playlistmodel.h
index 37cd0ef76..32a844b53 100644
--- a/src/qmmpui/playlistmodel.h
+++ b/src/qmmpui/playlistmodel.h
@@ -296,10 +296,10 @@ public:
GROUP /*!< by group name */
};
/*!
- * Returns number of track with index \b index.
- * Returns \b -1 if track with index \b index does not exist.
+ * Converts item index \b index to track index
+ * Returns \b -1 if item with index \b index is not a track or does not exist.
*/
- int numberOfTrack(int index) const;
+ int indexOfTrack(int index) const;
PlayListTrack *findTrack(int number) const;