Review Request: Fix KWidgetItemDelegate not updating on FocusIn and FocusOut

Commit Hook null at kde.org
Mon Apr 16 21:47:39 BST 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104149/#review12534
-----------------------------------------------------------


This review has been submitted with commit 3e23f2046b2854ded3a9b6006c16af19c99ab462 by Daniele E. Domenichelli to branch ivan/solid-fuse-access.

- Commit Hook


On March 4, 2012, 2:58 a.m., Daniele Elmo Domenichelli wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/104149/
> -----------------------------------------------------------
> 
> (Updated March 4, 2012, 2:58 a.m.)
> 
> 
> Review request for kdelibs.
> 
> 
> Description
> -------
> 
> KWidgetItemDelegate does not update when the itemView gets or loses the focus.
> This may cause problems with the text colors of the selected indexes.
> 
> I'm not sure if this is the best way to do it, since in all the other places this is done asyncronously using "QTimer::singleShot(0, this, SLOT(initializeModel()))", but this initializes the whole model, and I think it is not needed here. The alternatives are to update the whole model, or to add another slot to initialize only selected items.
> 
> 
> Diffs
> -----
> 
>   kdeui/itemviews/kwidgetitemdelegate.cpp 828e498 
> 
> Diff: http://git.reviewboard.kde.org/r/104149/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Daniele Elmo Domenichelli
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20120416/e9bd55a2/attachment.htm>


More information about the kde-core-devel mailing list