diff options
author | axis <qt-info@nokia.com> | 2009-07-14 08:31:41 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2009-07-14 13:06:25 (GMT) |
commit | fde7966c1b6122ed904d30e1f6e83eb8cd3a80b2 (patch) | |
tree | ae8ca630acfae0161ee27fe18c6fecb2c5d8bded /src/gui/painting/qgraphicssystem.cpp | |
parent | 89e606a5663cc33bf0ee29e74dcc41459320344e (diff) | |
download | Qt-fde7966c1b6122ed904d30e1f6e83eb8cd3a80b2.zip Qt-fde7966c1b6122ed904d30e1f6e83eb8cd3a80b2.tar.gz Qt-fde7966c1b6122ed904d30e1f6e83eb8cd3a80b2.tar.bz2 |
Fixed a consistency problem in the backing store.
Widgets maintain an internal state (inDirtyList) which says whether
that widget is in the backing store's list of dirty widgets.
Naturally this list has to be kept in sync with the actual list
contents. This did not happen if the backing store was destroyed and
recreated; if the list had any contents it would be destroyed without
resetting the widget flags. Destroying and recreating the backing
store is common on S60 where we try to save memory.
Fixed by making sure those flags are reset during backing store
destruction.
Done together with Jason.
RevBy: Jason Barron
RevBy: bnilsen
AutoTest: Included
Diffstat (limited to 'src/gui/painting/qgraphicssystem.cpp')
0 files changed, 0 insertions, 0 deletions