From 2978e6b5327f619dc8e295685f46640158e1fab0 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sun, 04 Jul 2004 14:45:19 +0000 Subject: Added missing initialization of iterator --- diff --git a/microkde/kconfig.cpp b/microkde/kconfig.cpp index b882adb..f8e362e 100644 --- a/microkde/kconfig.cpp +++ b/microkde/kconfig.cpp @@ -337,8 +337,9 @@ bool KConfig::deleteGroup( const QString& group) bool dirty = false; int pos; - QMap::Iterator itBool; + QMap::Iterator itBool = mBoolMap.begin(); QMap::Iterator delBool; + while ( itBool != mBoolMap.end() ) { pos = itBool.key().find( group ); if (pos == 0) { -- cgit v0.9.0.2