Bug in kcfg, KColorCombo not handled correct
Dag Andersen
danders at get2net.dk
Thu Nov 3 10:24:56 GMT 2011
Torsdag 03 november 2011 10:32:43 skrev Christoph Feck:
> On Thursday 03 November 2011 09:47:45 Dag Andersen wrote:
> > AFAICS this commit:
> > 8e95387f0d96ceb8439339643d1b9286a9204662
> > broke kcfg handling of KColorCombo.
> >
> > The attached patch fixes it for me.
>
> Hm, KColorCombo has a user property, so it should work. The patch is
> not good, because no other subclasses of QComboBox are handled.
Ahh, yes missed that.
> Can
> you find out why the user property of KColorCombo is not respected?
Seems there are two types of user properties:
1) custom user property that should be named kcfg_property, see
getCustomProperty().
2) user properties which are put into the s_propertyMap ("color" for
KColorCombo), see getUserProperty()
AFAICS KColorCombo does not have any kcfg_property so it will be treated as a
plain QComboBox.
>
> Christoph Feck (kdepepo)
--
Mvh.
Dag Andersen
More information about the kde-core-devel
mailing list