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

Save all settings

parent 2c12ac73
Pipeline #35428 failed with stage
in 111 minutes and 39 seconds
...@@ -51,11 +51,12 @@ FolderConfigureSettingsPageWidget::~FolderConfigureSettingsPageWidget() ...@@ -51,11 +51,12 @@ FolderConfigureSettingsPageWidget::~FolderConfigureSettingsPageWidget()
void FolderConfigureSettingsPageWidget::save(const Akonadi::Collection::List &cols) void FolderConfigureSettingsPageWidget::save(const Akonadi::Collection::List &cols)
{ {
const MailCommon::CollectionExpirySettings settings = mCollectionExpiryWidget->settings();
for (Akonadi::Collection col : cols) { for (Akonadi::Collection col : cols) {
//TODO
mFolderConfigureSettingsGeneralWidget->save(col); mFolderConfigureSettingsGeneralWidget->save(col);
//TODO mCollectionExpiryWidget->save(); mCollectionExpiryWidget->save(settings, col, true, false); //TODO verify boolean
mFolderConfigureSettingsViewWidget->save(col); mFolderConfigureSettingsViewWidget->save(col);
mCollectionTemplateWidget->save(col); mCollectionTemplateWidget->save(col);
//TODO sync col
} }
} }
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