Commit afeaa4fb authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Rename variables

parent 069e5e13
Pipeline #83152 passed with stage
in 7 minutes and 15 seconds
......@@ -113,9 +113,9 @@ void MarkAsCommand::slotFetchDone(KJob *job)
markMessages();
}
if (d->mFolderListJobCount > 0) {
auto job = new Akonadi::ItemFetchJob(d->mFolders[d->mFolderListJobCount - 1], parent());
job->fetchScope().setAncestorRetrieval(Akonadi::ItemFetchScope::Parent);
connect(job, &Akonadi::ItemFetchJob::result, this, &MarkAsCommand::slotFetchDone);
auto fetchJob = new Akonadi::ItemFetchJob(d->mFolders[d->mFolderListJobCount - 1], parent());
fetchJob->fetchScope().setAncestorRetrieval(Akonadi::ItemFetchScope::Parent);
connect(fetchJob, &Akonadi::ItemFetchJob::result, this, &MarkAsCommand::slotFetchDone);
}
}
......
......@@ -50,9 +50,9 @@ void MoveToTrashCommand::slotFetchDone(KJob *job)
moveMessages();
if (mFolderListJobCount > 0) {
auto job = new Akonadi::ItemFetchJob(mFolders[mFolderListJobCount - 1], parent());
job->fetchScope().setAncestorRetrieval(Akonadi::ItemFetchScope::Parent);
connect(job, &Akonadi::ItemFetchJob::result, this, &MoveToTrashCommand::slotFetchDone);
auto fetchJob = new Akonadi::ItemFetchJob(mFolders[mFolderListJobCount - 1], parent());
fetchJob->fetchScope().setAncestorRetrieval(Akonadi::ItemFetchScope::Parent);
connect(fetchJob, &Akonadi::ItemFetchJob::result, this, &MoveToTrashCommand::slotFetchDone);
}
}
......
Supports Markdown
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