summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qcolor.cpp
diff options
context:
space:
mode:
authorJens Bache-Wiig <jbache@trolltech.com>2009-05-27 16:30:47 +0200
committerJens Bache-Wiig <jbache@trolltech.com>2009-05-27 16:38:35 +0200
commite24868e99ef0ffd8e5690761a798d731c4b71b26 (patch)
tree35b3dcfa6fda05aa35f86ed5e3ba798dd6ebdcc6 /src/gui/painting/qcolor.cpp
parent8b0845c3058b5afb03baa93555194851ffb54501 (diff)
Fixed a possible assert in QGtkStyle
We now set and unset the GTK_HAS_FOCUS flag on the same painting call only if focus is set instead of resetting it on each painting call. This is a tiny optimization but also kills a possible assert on certain versions of Gtk+ (as reported with Red Hat Enterprise Linux 5). Task-number: 254614 Reviewed-by: denis
Diffstat (limited to 'src/gui/painting/qcolor.cpp')
0 files changed, 0 insertions, 0 deletions