From ed28682265bd95416a98d5ccc6a72e96563f84f3 Mon Sep 17 00:00:00 2001 From: David Faure Date: Wed, 23 Jun 2021 12:05:33 +0200 Subject: KConfig: fix deletion of an entry that is also in kdeglobals This is the case where we expected to see Key[$d] in the config file, and it was somehow broken. When saving, the key was omitted, so when reloading the kdeglobals key was present again. Detected when trying to write a unittest for a different patch... I had to reshuffle the unittest a bit because testThreads calls testSimple which didn't expect that the "[AAA]" group would actually be deleted now. --- autotests/kconfigtest.h | 1 + 1 file changed, 1 insertion(+) (limited to 'autotests/kconfigtest.h') diff --git a/autotests/kconfigtest.h b/autotests/kconfigtest.h index d6502331..9d519eda 100644 --- a/autotests/kconfigtest.h +++ b/autotests/kconfigtest.h @@ -76,6 +76,7 @@ private Q_SLOTS: void testLocaleConfig(); void testDirtyAfterRevert(); void testKdeGlobals(); + void testLocalDeletion(); void testNewlines(); void testXdgListEntry(); void testNotify(); -- cgit v1.2.1