summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_gui_dialogs_qmessagebox.cpp
diff options
context:
space:
mode:
authorLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-01-28 14:43:12 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-02-10 09:04:55 (GMT)
commit290f002186497e3061a973c094e3f2aba6bd6aef (patch)
treed9fdac212b41c9febb05377bf71fd3349fb601e3 /doc/src/snippets/code/src_gui_dialogs_qmessagebox.cpp
parente40088e128adaec454f119a49f1318132f30dc5f (diff)
downloadQt-290f002186497e3061a973c094e3f2aba6bd6aef.zip
Qt-290f002186497e3061a973c094e3f2aba6bd6aef.tar.gz
Qt-290f002186497e3061a973c094e3f2aba6bd6aef.tar.bz2
Fixes missing update when setting opacity on an item that had opacity 0.0
We need to set the paintedViewBoundingRectsNeedRepaint flag when an item becomes visible again because when the item has opacity 0.0 the paintedViewBoundingRects struct can get set as outside of viewport, so the next time the item is set to visible again we need to diregard this cached data (otherwise the item will not be updated). Task-number: QTBUG-7714 Reviewed-by: bnilsen (cherry picked from commit 37f1aec1a4e71a7102e8cd2e2908c8d3be7e29f5)
Diffstat (limited to 'doc/src/snippets/code/src_gui_dialogs_qmessagebox.cpp')
0 files changed, 0 insertions, 0 deletions