qDebug() << "Importing new events";
- // Re-parse the new events
+ // Re-parse the new events and insert them
+ allBackends.PreInsert();
{
int idx = 0;
foreach(QString filename, newHashesByPath.keys())
emit EventProcessed(idx, newHashes.count());
}
}
-
- // Perform any post-insert cleanup (i.e. reindexing)
- allBackends.PostInsert();
+ allBackends.PostInsert(); // Perform any post-insert cleanup (i.e. reindexing)
// Need to find a better way of refreshing the conversations view...
QProcess::execute("pkill rtcom");