[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kdecore/kernel
From: Matthias Kretz <kretz () kde ! org>
Date: 2007-04-30 21:30:24
Message-ID: 1177968624.063351.22494.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 659829 by mkretz:
reorder the code to remove three lines
M +1 -4 kglobal.cpp
--- trunk/KDE/kdelibs/kdecore/kernel/kglobal.cpp #659828:659829
@@ -207,21 +207,18 @@
return;
}
PRIVATE_DATA;
- d->componentDataList.removeAll(c);
if (d->mainComponentPtr == c) {
// The main component data (usually the one created on the stack in main())
// just got deleted. We better sync the global kconfig before the qt globals
// go away and prevent us from using things that require qt globals, like QTemporaryFile.
d->mainComponentPtr = 0;
- if (c->privateConfig()) {
- c->privateConfig()->sync();
- }
foreach (KComponentData *cd, d->componentDataList) {
if (cd->privateConfig()) {
cd->privateConfig()->sync();
}
}
}
+ d->componentDataList.removeAll(c);
}
void KGlobal::setLocale(KLocale *locale)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic