On Monday, February 15, 2016 4:02:32 AM CET Frederik Schwarzer wrote:
> Hi,
> 
> in Klickety the Configure dialog stopped working in one specific area.
> It's a QGroupBox with radio buttons represented as an Enum in the kcfg
> file. Two of the radio buttons have another widget right next to them.
> 
> ----------------------------------------
> 
> | o Theme                                |
> | o Color     [kcolorbutton] |
> | o Image   [kurlrequester] |
> 
> ----------------------------------------
> 
> So, as is, the Enum always says "0" and the Apply button remains
> grayed-out.
> If I then remove both of those extra widgets, the correct value is
> given (0-2) and the Apply button works as expected.
> 
> You can find the UI file in
> https://quickgit.kde.org/?p=klickety.git&a=blob&f=bgselector.ui&o=plain
> and the last two widgets (KUrlRequester and KColorButton) are the
> culprits.
> 
> Does anone have an idea why having another widget there disturbs the
> radio buttons?

You can diff the generated files and see what happens. Also for the 
KConfigCompiler (I think that's what you are complaining about? I don't see 
any reason KConfigGroup would be the culprit here?)

Bye

-- 
Milian Wolff
m...@milianw.de
http://milianw.de

Reply via email to