Review Request: Fix KComboBox KConfigXT bug when using qt 4.8
Christoph Feck
christoph at maxiom.de
Tue Jul 19 00:14:26 BST 2011
> On June 1, 2011, 8:44 p.m., Christoph Feck wrote:
> > Looks good, thanks.
Actually, the same change/fix needs to be made to KConfigDialogManager::setProperty()
- Christoph
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/101486/#review3619
-----------------------------------------------------------
On June 1, 2011, 7:29 p.m., Jeremy Paul Whiting wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/101486/
> -----------------------------------------------------------
>
> (Updated June 1, 2011, 7:29 p.m.)
>
>
> Review request for kdelibs and Eike Hein.
>
>
> Summary
> -------
>
> QComboBox in qt 4.8 sets currentIndex as it's USER property. Which breaks kconfigxt saving of kcombobox values as the text inside them. I noticed this in konversation's timestampformat setting which was getting saved as 0, or 1 depending on the index of the combobox, rather than the text of the combobox.
>
>
> Diffs
> -----
>
> kdeui/dialogs/kconfigdialogmanager.cpp 0209f49
>
> Diff: http://git.reviewboard.kde.org/r/101486/diff
>
>
> Testing
> -------
>
> This works here and shouldn't cause any problems even with qt 4.7 or so, just makes QComboBox special casing come before USER property checking rather than after.
>
>
> Thanks,
>
> Jeremy Paul
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20110718/c161acfa/attachment.htm>
More information about the kde-core-devel
mailing list