[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/kde4_kconfig/kconfig
From: Thomas Braxton <brax108 () cox ! net>
Date: 2006-07-31 21:53:49
Message-ID: 1154382829.931111.22429.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 568355 by braxton:
clean up useless code in deleteGroup
M +0 -16 kconfig.cpp
--- branches/work/kde4_kconfig/kconfig/kconfig.cpp #568354:568355
@@ -513,7 +513,6 @@
++aIt;
bool dirty = false;
- bool checkGroup = true;
// we now have a pointer to the nodes we want to copy.
for (; aIt != entryMap().end() && !aIt.key().mKey.isEmpty(); ++aIt)
{
@@ -526,24 +525,9 @@
(*aIt).bDirty = true;
(*aIt).bGlobal = global;
(*aIt).mValue = 0;
- checkGroup = false;
dirty = true;
}
-/* // we want to remove all entries in the group
- KEntryMapIterator aIt;
- for (aIt = entryMap().begin(); aIt != entryMap().end(); ++aIt)
- {
- if (!aIt.key().mKey.isEmpty() && !aIt.key().bDefault && !(*aIt).bDeleted)
- {
- (*aIt).bDeleted = true;
- (*aIt).bDirty = true;
- (*aIt).bGlobal = global;
- (*aIt).mValue = 0;
- dirty = true;
- }
- }
-*/
if (dirty)
{
setDirty(true);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic