summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_sql_kernel_qsqlindex.cpp
diff options
context:
space:
mode:
authorLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-01-20 14:11:58 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-02-09 16:18:16 (GMT)
commitd2c449adaa3169db0e5f87aa9a9961775bbac60f (patch)
tree26e6f47b5151961c0afa637f924532f6bb5d0f36 /doc/src/snippets/code/src_sql_kernel_qsqlindex.cpp
parenta4e7084cca16845433ed6509732e05372cae4857 (diff)
downloadQt-d2c449adaa3169db0e5f87aa9a9961775bbac60f.zip
Qt-d2c449adaa3169db0e5f87aa9a9961775bbac60f.tar.gz
Qt-d2c449adaa3169db0e5f87aa9a9961775bbac60f.tar.bz2
Avoids missing opacity updates by not propagating the ignoreOpacity flag
When doing a full update of a parent item, by setting one of these flags, QGraphicsItem::ItemIgnoresTransformations | ItemClipsChildrenToShape | ItemIsSelectable, the child items that were transparent would not be shown when setting their respective opacity to 1.0 We just need to set the ignoreOpacity flag when setting opacity to 0.0. This avoids propagating this flag to the child items when it's not needed. Task-number: QT-2653 Reviewed-by: bnilsen (cherry picked from commit 08c649e6a81ab13d0c7db6aa1b480ed149e3f770)
Diffstat (limited to 'doc/src/snippets/code/src_sql_kernel_qsqlindex.cpp')
0 files changed, 0 insertions, 0 deletions