Commit d72368f9 authored by Laurent Montel's avatar Laurent Montel 😁

Remove QT_CHECK

parent 1e236b1e
......@@ -41,11 +41,7 @@ public:
}
void start() override {
#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
QMetaObject::invokeMethod(this, &DummyIndexingJob::finish, Qt::QueuedConnection);
#else
QMetaObject::invokeMethod(this, "finish", Qt::QueuedConnection);
#endif
}
......
......@@ -88,12 +88,7 @@ Scheduler::Scheduler(Index &index, const KSharedConfigPtr &config,
//Trigger a full sync initially
if (!initialIndexingDone) {
qCDebug(AKONADI_INDEXER_AGENT_LOG) << "initial indexing";
#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
QMetaObject::invokeMethod(this, &Scheduler::scheduleCompleteSync, Qt::QueuedConnection);
#else
QMetaObject::invokeMethod(this, "scheduleCompleteSync", Qt::QueuedConnection);
#endif
}
cfg.writeEntry("initialIndexingDone", true);
cfg.sync();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment