summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-07-04 14:45:19 (UTC)
committer zautrix <zautrix>2004-07-04 14:45:19 (UTC)
commit2978e6b5327f619dc8e295685f46640158e1fab0 (patch) (side-by-side diff)
tree24bf8b27df9dfe91a12c0c7319d396eee8abbf67
parentdd549dd992f914d30c39c6c85297d689b9ac6308 (diff)
downloadkdepimpi-2978e6b5327f619dc8e295685f46640158e1fab0.zip
kdepimpi-2978e6b5327f619dc8e295685f46640158e1fab0.tar.gz
kdepimpi-2978e6b5327f619dc8e295685f46640158e1fab0.tar.bz2
Added missing initialization of iterator
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--microkde/kconfig.cpp3
1 files changed, 2 insertions, 1 deletions
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<QString,bool>::Iterator itBool;
+ QMap<QString,bool>::Iterator itBool = mBoolMap.begin();
QMap<QString,bool>::Iterator delBool;
+
while ( itBool != mBoolMap.end() ) {
pos = itBool.key().find( group );
if (pos == 0) {