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

Review request for kdelibs.


Summary (updated)
-----------------

Fix KWidgetItemDelegate not updating on FocusIn and FocusOut


Description (updated)
-------

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 (updated)
-----

  kdeui/itemviews/kwidgetitemdelegate.cpp 828e498 

Diff: http://git.reviewboard.kde.org/r/104149/diff/


Testing
-------


Thanks,

Daniele Elmo Domenichelli

Reply via email to