aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/playlistmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmmpui/playlistmanager.cpp')
-rw-r--r--src/qmmpui/playlistmanager.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qmmpui/playlistmanager.cpp b/src/qmmpui/playlistmanager.cpp
index 852224e03..d23872cad 100644
--- a/src/qmmpui/playlistmanager.cpp
+++ b/src/qmmpui/playlistmanager.cpp
@@ -195,6 +195,11 @@ void PlayListManager::removePlayList(PlayListModel *model)
emit playListsChanged();
}
+void PlayListManager::removePlayList(int index)
+{
+ removePlayList(playListAt(index));
+}
+
void PlayListManager::move(int i, int j)
{
if(i < 0 || j < 0 || i == j)