Commit 8fe03502 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Runners KCM] Notify history deletion

So KRunner can catch that in a KConfigWatcher

Differential Revision: https://phabricator.kde.org/D29410
parent 9bbd2645
......@@ -64,7 +64,7 @@ SearchConfigModule::SearchConfigModule(QWidget* parent, const QVariantList& args
: QStringLiteral("edit-clear-locationbar-rtl")));
connect(clearHistoryButton, &QPushButton::clicked, this, [this] {
KConfigGroup generalConfig(m_config.group("General"));
generalConfig.deleteEntry("history");
generalConfig.deleteEntry("history", KConfig::Notify);
generalConfig.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