Repository
svn://anonsvn.kde.org/home/kde/trunk/KDE/kdelibs
/trunk/KDE/kdelibs
by
abizjak
on
2009-02-18 13:55
(10 months ago)
Fix regressions introduced by 914887.
On the other hand, Corona::addItem indirectly calls Containment::itemChange,
which ends up calling AppletPrivate::mainConfigGroup, which then creates a config
group in the wrong file (plasmarc) because isContainment was not set.
This also caused a regression where removed applets reappeared on next plasma run.
Fix:
Manually set isContainment before adding the item to the corona, then
call setIsContainment with a new argument to force the initialization.
| Language | Code Added | Code Removed | Comments Added | Comments Removed | Blanks Added | Blanks Removed | |
|---|---|---|---|---|---|---|---|
| C++ | 5 | 4 | 0 | 0 | 0 | 0 |