mirror of
https://github.com/YACReader/yacreader
synced 2025-07-19 05:24:57 -04:00
updating folders' children info for every insert/delete in the db causes big performance issues, so that info is going to be updated explicitly
This commit is contained in:
@ -5,8 +5,8 @@
|
||||
|
||||
#include "QsLog.h"
|
||||
|
||||
ComicsRemover::ComicsRemover(QModelIndexList & il, QList<QString> & ps, QObject *parent)
|
||||
:QObject(parent),indexList(il), paths(ps)
|
||||
ComicsRemover::ComicsRemover(QModelIndexList & il, QList<QString> & ps, qulonglong parentId, QObject *parent)
|
||||
:QObject(parent),indexList(il), paths(ps), parentId(parentId)
|
||||
{
|
||||
}
|
||||
|
||||
@ -29,6 +29,7 @@ void ComicsRemover::process()
|
||||
}
|
||||
|
||||
emit finished();
|
||||
emit removedItemsFromFolder(parentId);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user