diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-09-06 09:21:15 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-09-06 15:20:10 +0000 |
commit | 9ae57848671419b2622e254af8642fef7b1b7c33 (patch) | |
tree | d25df980ee418ecd2fe09312873b42ab8691f677 /src/imports | |
parent | bc0fdae8fad4e199792b3f00ebcb74bd80473227 (diff) |
QQuickDrawer: fix the internal transition state
When QQuickDrawer was visible all the time, it did not emit the
visibility related signals at all. Now the signals are emitted,
but aboutToShow() and visibleChanged() were emitted twice when
a drawer was manually dragged open. First time when the dragging
begins (the drawer becomes effectively visible), and second time
when the open transition begins after mouse/touch release. This
change ensures that the signals won't be emitted again when the
transition begins, in case they were already emitted.
Change-Id: I2a175c9e86a480d5cd23e306f41f0d85e2416f75
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports')
0 files changed, 0 insertions, 0 deletions