Commit 5347274b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

const'ify

parent 62d5eaa8
Pipeline #27499 passed with stage
in 63 minutes and 28 seconds
......@@ -104,7 +104,7 @@ void CollectionExpiryPage::saveAndExpire(Akonadi::Collection &collection, bool s
void CollectionExpiryPage::slotSaveAndExpire()
{
saveAndExpire(mCollection, true, true); // save and start expire job
saveAndExpire(mCollection, true, true); // save and start expire job
}
void CollectionExpiryPage::slotChanged()
......
......@@ -58,7 +58,7 @@ FilterActionMissingFolderDialog::FilterActionMissingFolderDialog(
mainLayout->addWidget(mListwidget);
const int numberOfItems(list.count());
for (int i = 0; i < numberOfItems; ++i) {
Akonadi::Collection col = list.at(i);
const Akonadi::Collection col = list.at(i);
QListWidgetItem *item = new QListWidgetItem(MailCommon::Util::fullCollectionPath(col));
item->setData(FilterActionMissingFolderDialog::IdentifyCollection, col.id());
mListwidget->addItem(item);
......
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