diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2011-10-28 18:08:13 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2011-10-28 18:08:13 +0000 |
| commit | e4dda5059cf63f8b10f6b15da845e3a91c03544f (patch) | |
| tree | daf4cd71a222c74c0e4684baa1e1d88acc999570 /src/qmmpui/playlistmanager.cpp | |
| parent | 3923bd22cef390e6d0db82b9d3c6d79225b49adc (diff) | |
| download | qmmp-e4dda5059cf63f8b10f6b15da845e3a91c03544f.tar.gz qmmp-e4dda5059cf63f8b10f6b15da845e3a91c03544f.tar.bz2 qmmp-e4dda5059cf63f8b10f6b15da845e3a91c03544f.zip | |
added removePlayList(int index) to api
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2459 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/playlistmanager.cpp')
| -rw-r--r-- | src/qmmpui/playlistmanager.cpp | 5 |
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) |
