Set source in backends to fix losing source in InitFromFilePartial()
when updating path
This commit is contained in:
@@ -55,7 +55,7 @@ SCollection::SCollection(Application *app, QObject *parent)
|
||||
backend_ = new CollectionBackend();
|
||||
backend()->moveToThread(app->database()->thread());
|
||||
|
||||
backend_->Init(app->database(), kSongsTable, kDirsTable, kSubdirsTable, kFtsTable);
|
||||
backend_->Init(app->database(), Song::Source_Collection, kSongsTable, kDirsTable, kSubdirsTable, kFtsTable);
|
||||
|
||||
model_ = new CollectionModel(backend_, app_, this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user