Bug #1645 » lmp_multiscan_dbg.patch
| 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 ());
|
||
|
}
|
||