shared: Indexer: Add setProgressReportThreshold()

This commit is contained in:
Albert S. 2023-05-01 23:52:45 +02:00
parent 6cd7a92576
commit 4604970f9d
2 changed files with 7 additions and 0 deletions

View File

@ -171,3 +171,8 @@ void Indexer::setFileSaverOptions(FileSaverOptions options)
{
this->fileSaverOptions = options;
}
void Indexer::setProgressReportThreshold(int threshold)
{
this->progressReportThreshold = threshold;
}

View File

@ -82,6 +82,8 @@ class Indexer : public QObject
void setFileSaverOptions(FileSaverOptions options);
void setProgressReportThreshold(int threshold);
void requestCancellation();
Indexer(SqliteDbService &db);