summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qsyntaxhighlighter.cpp
diff options
context:
space:
mode:
authorEduardo M. Fleury <eduardo.fleury@openbossa.org>2009-07-23 22:59:05 (GMT)
committerEduardo M. Fleury <eduardo.fleury@openbossa.org>2009-08-06 22:47:31 (GMT)
commitf48d5dd7554edef5ac3fa11ebd86eaa52a8e23b6 (patch)
tree133df0421d5c5cdfd332bcdec99917a6582c0dda /src/gui/text/qsyntaxhighlighter.cpp
parentaa05ec20ee0961f129eb66527892360c17dc3a18 (diff)
downloadQt-f48d5dd7554edef5ac3fa11ebd86eaa52a8e23b6.zip
Qt-f48d5dd7554edef5ac3fa11ebd86eaa52a8e23b6.tar.gz
Qt-f48d5dd7554edef5ac3fa11ebd86eaa52a8e23b6.tar.bz2
QGraphicsAnchorLayout: Fix center anchor deletion logic
We were missing a call to "removeCenterAnchors" in the "removeAnchors" method. To solve that, and also reduce the number of useless calls to that method, this commit: 1) Calls it only from "removeInternalVertex" 2) Does some preliminary testing before calling it 3) Replace the former test inside "removeCenterAnchors" by a Q_ASSERT It also adds other Q_ASSERTs to protect us from regression bugs. Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org> Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
Diffstat (limited to 'src/gui/text/qsyntaxhighlighter.cpp')
0 files changed, 0 insertions, 0 deletions