aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/playlistmanager.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2017-06-20 13:23:54 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2017-06-20 13:23:54 +0000
commit8f75dc83f3c5a37f342d676c7bf9fe6e3cbfe3ac (patch)
tree3cb4ed54b986083c5b1609fa3fc07af14b57ba36 /src/qmmpui/playlistmanager.cpp
parent694a3c5cf3c78ad38b1a2cdbe75331a44f9035df (diff)
downloadqmmp-8f75dc83f3c5a37f342d676c7bf9fe6e3cbfe3ac.tar.gz
qmmp-8f75dc83f3c5a37f342d676c7bf9fe6e3cbfe3ac.tar.bz2
qmmp-8f75dc83f3c5a37f342d676c7bf9fe6e3cbfe3ac.zip
improved playlist manager api
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7243 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/playlistmanager.cpp')
-rw-r--r--src/qmmpui/playlistmanager.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/qmmpui/playlistmanager.cpp b/src/qmmpui/playlistmanager.cpp
index 2cc9b82a6..52f610791 100644
--- a/src/qmmpui/playlistmanager.cpp
+++ b/src/qmmpui/playlistmanager.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009-2015 by Ilya Kotov *
+ * Copyright (C) 2009-2017 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -432,6 +432,11 @@ void PlayListManager::showDetails()
m_selected->showDetails();
}
+void PlayListManager::add(const QString &path)
+{
+ m_selected->add(path);
+}
+
void PlayListManager::add(const QStringList &paths)
{
m_selected->add(paths);