diff --git a/src/plugins/lmp/localcollection.cpp b/src/plugins/lmp/localcollection.cpp index 10a9a07..f31063e 100644 --- a/src/plugins/lmp/localcollection.cpp +++ b/src/plugins/lmp/localcollection.cpp @@ -156,6 +156,7 @@ namespace LMP void LocalCollection::Scan (const QString& path, bool root) { + qDebug () << Q_FUNC_INFO << path << root; auto watcher = new QFutureWatcher (); connect (watcher, SIGNAL (finished ()), @@ -550,6 +551,7 @@ namespace LMP void LocalCollection::RemoveTrack (const QString& path) { const int id = FindTrack (path); + qDebug () << Q_FUNC_INFO << path << id; if (id == -1) return; diff --git a/src/plugins/lmp/localcollectionmodel.cpp b/src/plugins/lmp/localcollectionmodel.cpp index 52e7cd7..32f9b37 100644 --- a/src/plugins/lmp/localcollectionmodel.cpp +++ b/src/plugins/lmp/localcollectionmodel.cpp @@ -187,6 +187,7 @@ namespace LMP void LocalCollectionModel::RemoveTrack (int id) { auto item = Track2Item_.take (id); + qDebug () << Q_FUNC_INFO << id << item; item->parent ()->removeRow (item->row ()); }