shared: Indexer: Add setProgressReportThreshold()

Tá an tiomantas seo le fáil i:
Albert S. 2023-05-01 23:52:45 +02:00
tuismitheoir 6cd7a92576
tiomantas 4604970f9d
D'athraigh 2 comhad le 7 breiseanna agus 0 scriosta

Féach ar an gComhad

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

Féach ar an gComhad

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