Review Request: Fix KComboBox KConfigXT bug when using qt 4.8
Jeremy Paul Whiting
jpwhiting at kde.org
Tue Jul 19 03:14:46 BST 2011
> On June 1, 2011, 8:44 p.m., Christoph Feck wrote:
> > Looks good, thanks.
>
> Christoph Feck wrote:
> Actually, the same change/fix needs to be made to KConfigDialogManager::setProperty()
Good catch. Ok, will do. I'll make the fix on 4.7 and master branches.
- Jeremy Paul
-----------------------------------------------------------
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/20110719/fb3dd756/attachment.htm>
More information about the kde-core-devel
mailing list