summaryrefslogtreecommitdiffstats
path: root/src/gui/embedded/qwssignalhandler.cpp
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-08-10 15:34:19 (GMT)
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-08-18 09:13:51 (GMT)
commitcb8d2dcc70846ccd9384a8b94b2a80821c0eb285 (patch)
treec73cc9799567e86486d22f6985624e6981f477b9 /src/gui/embedded/qwssignalhandler.cpp
parentb5360eb223d5377beb62008fcc1da48f432dc8dd (diff)
downloadQt-cb8d2dcc70846ccd9384a8b94b2a80821c0eb285.zip
Qt-cb8d2dcc70846ccd9384a8b94b2a80821c0eb285.tar.gz
Qt-cb8d2dcc70846ccd9384a8b94b2a80821c0eb285.tar.bz2
Replaced backing store reference count with list of visible widgets
Previously, the following sequence: 1. Widget is hidden 2. Widget partially revealed 3. Widget fully revealed resulted in the reference count of the backing store owned by the widget's window() being incremented twice. This patch replaces the simple reference count with a QSet which stores pointers to the native widgets which are descendents of the backing store owner, and which are currently visible. The sequence above therefore results in just a single insertion at step (2), with step (3) having no effect on the backing store. The QRefCountedWidgetBackingStore class has been renamed QWidgetBackingStoreTracker to better reflect its purpose. Task-number: QTBUG-12800 Task-number: QTBUG-12817 Reviewed-by: Jason Barron
Diffstat (limited to 'src/gui/embedded/qwssignalhandler.cpp')
0 files changed, 0 insertions, 0 deletions