summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-02-13 22:51:28 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-02-14 00:19:26 +0100
commit500f1b0925996f5cf7d552a48443bdb52c0ca4bd (patch)
treed1226bfa6eb8e7ae3f463c459dfbaa9530b3a556 /kde-frameworks/baloo/files
parentapp-admin/ansible: 2.9.6 bump (diff)
downloadgentoo-500f1b0925996f5cf7d552a48443bdb52c0ca4bd.tar.gz
gentoo-500f1b0925996f5cf7d552a48443bdb52c0ca4bd.tar.bz2
gentoo-500f1b0925996f5cf7d552a48443bdb52c0ca4bd.zip
kde-frameworks/baloo: Sync IndexerConfig on exit
See also: https://mail.kde.org/pipermail/plasma-devel/2020-February/111114.html KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=417127 Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/baloo/files')
-rw-r--r--kde-frameworks/baloo/files/baloo-5.67.0-sync-IndexerConfig-on-exit.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/kde-frameworks/baloo/files/baloo-5.67.0-sync-IndexerConfig-on-exit.patch b/kde-frameworks/baloo/files/baloo-5.67.0-sync-IndexerConfig-on-exit.patch
new file mode 100644
index 00000000000..d18b7e2a169
--- /dev/null
+++ b/kde-frameworks/baloo/files/baloo-5.67.0-sync-IndexerConfig-on-exit.patch
@@ -0,0 +1,37 @@
+From a0f8e748159b6bc0b8e5eaa1f9eb58a18ca736fa Mon Sep 17 00:00:00 2001
+From: David Edmundson <kde@davidedmundson.co.uk>
+Date: Thu, 13 Feb 2020 16:52:40 +0000
+Subject: Sync IndexerConfig on exit
+
+Summary:
+KCoreConfigSkeleton, unlike KConfig does not automagically save on exit.
+
+BUG: 417127
+
+Test Plan:
+balooctl disable
+balooctl enable
+
+Subscribers: kde-frameworks-devel, #baloo
+
+Tags: #frameworks, #baloo
+
+Differential Revision: https://phabricator.kde.org/D27376
+---
+ src/lib/indexerconfig.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/lib/indexerconfig.cpp b/src/lib/indexerconfig.cpp
+index 66786b9..19ae342 100644
+--- a/src/lib/indexerconfig.cpp
++++ b/src/lib/indexerconfig.cpp
+@@ -43,6 +43,7 @@ IndexerConfig::IndexerConfig()
+
+ IndexerConfig::~IndexerConfig()
+ {
++ d->m_settings.save();
+ delete d;
+ }
+
+--
+cgit v1.1