From 91a4d5da94a6b0b60ad7989a402f654710103e99 Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Wed, 8 Nov 2023 12:08:31 +0100 Subject: Adapt to KConfigGroup name officially being a QString type GIT_SILENT --- src/views/dolphinremoteencoding.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/views/dolphinremoteencoding.cpp') diff --git a/src/views/dolphinremoteencoding.cpp b/src/views/dolphinremoteencoding.cpp index a3007523c..c9e973987 100644 --- a/src/views/dolphinremoteencoding.cpp +++ b/src/views/dolphinremoteencoding.cpp @@ -198,8 +198,8 @@ void DolphinRemoteEncoding::slotDefault() qCDebug(DolphinDebug) << "Domain to remove: " << *it; if (config.hasGroup(*it)) { config.deleteGroup(*it); - } else if (config.group("").hasKey(*it)) { - config.group("").deleteEntry(*it); //don't know what group name is supposed to be XXX + } else if (config.group(QString()).hasKey(*it)) { + config.group(QString()).deleteEntry(*it); // don't know what group name is supposed to be XXX } } } -- cgit v1.3