diff options
author | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2011-05-17 12:12:52 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2011-05-18 22:22:51 +0200 |
commit | 789cbfad6c7e6fd694041c3feaaaf0318fc9b209 (patch) | |
tree | 8a547876a50a9ef4111bdc0b09ec440babfc251f /src/plugins/cpptools/cppcodeformatter.cpp | |
parent | 77f8f9483630f1f4262038d8e559ccfb904277bf (diff) | |
download | qt-creator-789cbfad6c7e6fd694041c3feaaaf0318fc9b209.tar.gz |
Fixed crashes in Observer mode related to infinite bounding rects
Bug fixed by avoiding uniting or subtracting QPolygonF with potentially
infinite coordinates.
The LiveSelectionIndicator now uses a QGraphicsRectItem rather than a
QGraphicsPolygonItem and displays only the boundaries of selected
objects, not including their children.
The SubcomponentMaskLayerItem now works with rectangles and uses a
QRegion to determine the area around the current context, converting
this to a polygon only as a last step.
Reviewed-by: Kai Koehne
Task-number: QTCREATORBUG-4559
Change-Id: I266f5387fa67017fc50215282a95b4ee6498be6d
(cherry-picked from d03065da2999b8539d8c5160b58d56dd94373d6f in Qt 4.8)
Diffstat (limited to 'src/plugins/cpptools/cppcodeformatter.cpp')
0 files changed, 0 insertions, 0 deletions