summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_sql_kernel_qsqlquery.cpp
diff options
context:
space:
mode:
authorAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-04-15 08:23:08 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-04-15 10:34:36 (GMT)
commit9c7374464544aca8b005773223b7541a9cc9eea0 (patch)
treef4d3dc42639edd3d610c6a25bbea3677e533d35f /doc/src/snippets/code/src_sql_kernel_qsqlquery.cpp
parentb71648ec602a52667403bfb83d2e48718948a2a9 (diff)
downloadQt-9c7374464544aca8b005773223b7541a9cc9eea0.zip
Qt-9c7374464544aca8b005773223b7541a9cc9eea0.tar.gz
Qt-9c7374464544aca8b005773223b7541a9cc9eea0.tar.bz2
BT: Fix a regression to 4.4 in Graphics View's handling of child clippers
Regression caused by optimizations in QGraphicsItem and QGraphicsScene. The changes in QGraphicsItem fix bugs in QGraphicsItem::mapToParent functions, which did the translation before applying the transformation, instead of the other way (transform, then translate). This bug caused almost all mapToParent and mapRectToParent functions to behave wrongly. Unfortunately the new helper functions in QGraphicsScene for discovering items made use of these functions, which introduced a regression. Fixing these functions also fixes item discovery. The other part of this change fixes a regression caused by c1909321, which luckily happened after 4.5.0 and never saw the light of day. The fix is to also invalidate the cached clip path even if there is no scene, which is necessary if you build your scene graph outside the scene, and finish off by adding the root item to the scene. Task-number: 250680 Reviewed-by: Alexis (cherry picked from commit 7a0f9ae94ca7a47dc285431d31f6839c07870194)
Diffstat (limited to 'doc/src/snippets/code/src_sql_kernel_qsqlquery.cpp')
0 files changed, 0 insertions, 0 deletions