diff options
Diffstat (limited to 'src/qmmpui/playlistmodel.h')
| -rw-r--r-- | src/qmmpui/playlistmodel.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/qmmpui/playlistmodel.h b/src/qmmpui/playlistmodel.h index ce047d759..2f1dca2e4 100644 --- a/src/qmmpui/playlistmodel.h +++ b/src/qmmpui/playlistmodel.h @@ -206,6 +206,13 @@ public: return m_queued_songs.indexOf(item); } /*! + * Returns the number of items in the queue + */ + int queueSize() const + { + return m_queued_songs.size(); + } + /*! * Returns current selection(playlist can contain a lot of selections, * this method returns selection which \b row belongs to) */ |
