From 474fcb9b379d392f44ef80380a7ac1b908965112 Mon Sep 17 00:00:00 2001 From: Milian Wolff Date: Wed, 18 Jun 2014 13:56:10 +0200 Subject: Remove duplicate comparison against group. forward-port of commit 416559cdb86f9cacf4ea4ed7530cbbbdb427302f --- src/core/kconfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/core/kconfig.cpp b/src/core/kconfig.cpp index a2598f8e..65edefa9 100644 --- a/src/core/kconfig.cpp +++ b/src/core/kconfig.cpp @@ -344,7 +344,7 @@ QStringList KConfigPrivate::keyListImpl(const QByteArray &theGroup) const QSet tmp; for (; it != theEnd && it.key().mGroup == theGroup; ++it) { const KEntryKey &key = it.key(); - if (key.mGroup == theGroup && !key.mKey.isNull() && !it->bDeleted) { + if (!key.mKey.isNull() && !it->bDeleted) { tmp << QString::fromUtf8(key.mKey); } } -- cgit v1.2.1