Fix updating text color in Text element
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Fri, 3 Feb 2012 12:49:00 +0000 (13:49 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 6 Feb 2012 09:22:46 +0000 (10:22 +0100)
commit63ac4c6a4706637d9499210086f387b3849b6ad0
tree82b3a2a3ceb5233cf0adea35ce2dcdf8f1ba924b
parent4cd28a7f8c6abb7a33d19b0c87152d85370373d1
Fix updating text color in Text element

The setColor() function in QQuickText calls markDirty() which
did not specify that the whole paint node should be updated, so
color updates would have no effect until something else changed.

Change-Id: I93741b6c697f2dd6ad5a315250502a7a6e3ce1d7
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
src/quick/items/qquicktext.cpp