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

Allow to save settings

parent 628b4441
Pipeline #28632 failed with stage
in 75 minutes and 43 seconds
...@@ -67,4 +67,6 @@ void FolderConfigureSettingsDialog::writeConfig() ...@@ -67,4 +67,6 @@ void FolderConfigureSettingsDialog::writeConfig()
KConfigGroup grp(KSharedConfig::openConfig(), myConfigGroupName); KConfigGroup grp(KSharedConfig::openConfig(), myConfigGroupName);
grp.writeEntry("Size", size()); grp.writeEntry("Size", size());
grp.sync(); grp.sync();
#if 0
#endif
} }
...@@ -56,5 +56,13 @@ FolderConfigureSettingsWidget::~FolderConfigureSettingsWidget() ...@@ -56,5 +56,13 @@ FolderConfigureSettingsWidget::~FolderConfigureSettingsWidget()
void FolderConfigureSettingsWidget::save() void FolderConfigureSettingsWidget::save()
{ {
#if 0
const auto indexes = checkable->selectionModel()->selectedIndexes();
QSet<qint64> list;
list.reserve(indexes.count());
for (const auto &index : indexes) {
list << index.data(Akonadi::EntityTreeModel::CollectionIdRole).toLongLong();
}
#endif
//TODO //TODO
} }
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