Commit 6d361335 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Save filter

parent b5b0880f
Pipeline #60247 canceled with stage
...@@ -131,9 +131,9 @@ void Filter::save(const KSharedConfig::Ptr &config, const QString &filtername) ...@@ -131,9 +131,9 @@ void Filter::save(const KSharedConfig::Ptr &config, const QString &filtername)
KConfigGroup newGroup(config, QStringLiteral("Filter_%1").arg(numberFilter++)); KConfigGroup newGroup(config, QStringLiteral("Filter_%1").arg(numberFilter++));
newGroup.writeEntry("name", filtername); newGroup.writeEntry("name", filtername);
newGroup.writeEntry("searchString", mSearchString); newGroup.writeEntry("searchString", mSearchString);
// TODO newGroup.writeEntry("searchOptions", mOptions); newGroup.writeEntry("searchOptions", static_cast<int>(mOptions));
newGroup.writeEntry("tagId", mTagId); newGroup.writeEntry("tagId", mTagId);
// newGroup.writeEntry("currentFolder", mCurrentFolder); newGroup.writeEntry("currentFolder", mCurrentFolder.id());
// TODO mStatus.toQInt32() // TODO mStatus.toQInt32()
newGroup.sync(); newGroup.sync();
} }
......
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