KDE

Commit Details

Anon32

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 Totals

  Language Code Added Code Removed Comments Added Comments Removed Blanks Added Blanks Removed
  C++ 5 4 0 0 0 0

Files Changed

[3 total ]
File Language Code Added Code Removed Comments Added Comments Removed Blanks Added Blanks Removed
plasma/applet.cpp
  C++ 2 2 0 0 0 0
plasma/corona.cpp
  C++ 2 1 0 0 0 0
plasma/private/applet_p.h
  C++ 1 1 0 0 0 0