From 37bb9bd2bc6cf1a098b35b30ca120ddb46f003d6 Mon Sep 17 00:00:00 2001 From: "nikwen.developer@gmail.com" Date: Fri, 16 May 2014 18:07:37 +0000 Subject: [PATCH] Remove outdated comments --- ubuntu/backend/mpdbackend.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;