configChanged() called *before* the slot connected to KConfigDialog
Ingomar Wesp
ingomar at wesp.name
Tue Oct 19 23:12:05 CEST 2010
Hey,
While implementing configChanged() in the quicklaunch plasmoid, I noticed (and
worked around) the following problem:
The applet's configChanged() method is called before the slot that is
connected to the createConfigurationInterface's KConfigDialog's accepted()
signal. This came as a bit of a surprise as it means that just writing out the
config in this slot and relying on configChanged() to pick up and apply the
changes obviously doesn't work – I still need to apply the changes in the slot
or call configChanged() manually.
Judging from the documentation I found and the contents of
<http://aseigo.blogspot.com/2010/09/using-configchanged-in-your-plasma.html>,
this seems like a bug to me.
Best wishes,
Ingo
More information about the Plasma-devel
mailing list