Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

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

not necessary to copy boolean value

parent 07aa6ef8
......@@ -180,9 +180,8 @@ void CollectionExpiryPage::save(Akonadi::Collection &collection)
}
}
void CollectionExpiryPage::saveAndExpire(Akonadi::Collection &collection, bool saveSettings, bool _expireNow)
void CollectionExpiryPage::saveAndExpire(Akonadi::Collection &collection, bool saveSettings, bool expireNow)
{
bool expireNow = _expireNow;
bool enableGlobally = expireReadMailCB->isChecked() || expireUnreadMailCB->isChecked();
const Akonadi::Collection expireToFolder = folderSelector->collection();
if (enableGlobally && moveToRB->isChecked() && !expireToFolder.isValid()) {
......
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