diff options
author | Markus Hossner <markus.hossner@innovative-navigation.de> | 2010-04-21 08:56:22 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-04-21 08:56:22 (GMT) |
commit | eb7fad0afd164bb9b56ed47990eaa66cad0c2641 (patch) | |
tree | 96f90e3b9db0f42caaabb554bb1847e48d2352a3 /dist/changes-1.42 | |
parent | dd5d297d2969795a47ef7a5234b64a791e080c38 (diff) | |
download | Qt-eb7fad0afd164bb9b56ed47990eaa66cad0c2641.zip Qt-eb7fad0afd164bb9b56ed47990eaa66cad0c2641.tar.gz Qt-eb7fad0afd164bb9b56ed47990eaa66cad0c2641.tar.bz2 |
QAbstractGraphicsShapeItem: ignore already set pen or brush
If setPen() or setBrush() of a QAbstractGraphicsShapeItem is called with
a pen or brush equal to its current pen or brush prepareGeometryChange()
and update() shouldn't be called. Testing for identical pen and brush is
cheap in comparison with a QGraphicsView update() without seeing a change
Merge-request: 562
Reviewed-by: Bjørn Erik Nilsen <bjorn.nilsen@nokia.com>
Diffstat (limited to 'dist/changes-1.42')
0 files changed, 0 insertions, 0 deletions