diff --git a/libsearch/index/index-updater.cpp b/libsearch/index/index-updater.cpp index 8adbca9..2aca5f4 100644 --- a/libsearch/index/index-updater.cpp +++ b/libsearch/index/index-updater.cpp @@ -245,7 +245,8 @@ void IndexUpdater::updateAiIndex() qDebug() << "| remove:" <aiIndexFileTarget()[suffix] && !file.isDir()) { update(&AiIndexer::addTextFileIndex); diff --git a/libsearch/index/pending-file.cpp b/libsearch/index/pending-file.cpp index b51dd7d..8529e96 100644 --- a/libsearch/index/pending-file.cpp +++ b/libsearch/index/pending-file.cpp @@ -72,9 +72,10 @@ bool PendingFile::shouldRemoveIndex() const void PendingFile::merge(const PendingFile& file) { -// m_created |= file.m_created; - m_modified = file.m_modified; + m_created |= file.m_created; + m_modified |= file.m_modified; m_deleted = file.m_deleted; + m_moveTo |= file.m_moveTo; } void PendingFile::printFlags() const