Review Request: restore all applet config options whel loading from a different config file

Marco Martin notmart at gmail.com
Sat Oct 3 19:15:22 CEST 2009


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/1765/
-----------------------------------------------------------

Review request for Plasma.


Summary
-------

ok, this is ugly, perhaps there is a proper way to do it without a deep copy...
problem: it's possible to call Corona:loadLayout(name) with a custom config file that is not the "real" one, to load for instance a default configuration.

but just the geometries are restored, so any other config option in that config file is discarded.
this copies the config group in applet restore() to the applet internal one, so the kconfiggroup resulted from any call to config() in the applet will have the proper values...


Diffs
-----

  /trunk/KDE/kdelibs/plasma/applet.cpp 1030883 

Diff: http://reviewboard.kde.org/r/1765/diff


Testing
-------


Thanks,

Marco



More information about the Plasma-devel mailing list