Project

General

Profile

Bug #1645 » lmp_multiscan_dbg.patch

0xd34df00d, 06/13/2014 11:36 PM

View differences:

src/plugins/lmp/localcollection.cpp
void LocalCollection::Scan (const QString& path, bool root)
{
qDebug () << Q_FUNC_INFO << path << root;
auto watcher = new QFutureWatcher<IterateResult> ();
connect (watcher,
SIGNAL (finished ()),
......
void LocalCollection::RemoveTrack (const QString& path)
{
const int id = FindTrack (path);
qDebug () << Q_FUNC_INFO << path << id;
if (id == -1)
return;
src/plugins/lmp/localcollectionmodel.cpp
void LocalCollectionModel::RemoveTrack (int id)
{
auto item = Track2Item_.take (id);
qDebug () << Q_FUNC_INFO << id << item;
item->parent ()->removeRow (item->row ());
}
    (1-1/1)