diff --git a/ubuntu/backend/mpdbackend.cpp b/ubuntu/backend/mpdbackend.cpp index a50c9df01..fe0325bfa 100644 --- a/ubuntu/backend/mpdbackend.cpp +++ b/ubuntu/backend/mpdbackend.cpp @@ -274,10 +274,10 @@ void MPDBackend::playlistsUpdated() { emit onPlaylistsModelChanged(); } -void MPDBackend::add(const QString &modelName, const QVariant &rows, bool replace) { //TODO: SubListViewPage!!! +void MPDBackend::add(const QString &modelName, const QVariant &rows, bool replace) { if (QVariant::Int==rows.type() && "playlists"==modelName) { loadPlaylist(rows.toInt(), replace); - return; //no replace for playlists + return; } ProxyModel *proxy=0;