diff options
| author | Volker Hilsheimer <[email protected]> | 2022-10-28 14:13:01 +0200 |
|---|---|---|
| committer | Volker Hilsheimer <[email protected]> | 2022-10-29 10:57:09 +0200 |
| commit | f4b028114a9040147fa98ca8c8cfc58dcb2f6102 (patch) | |
| tree | b33dca9f3cb1260bef9f5e13f9ca4afd446fd658 /src/network/access/qnetworkreplywasmimpl.cpp | |
| parent | a9fa999f799f53772db2d16a722a68883ae6e317 (diff) | |
QComboBox: refactor item flashing code in hidePopup
Instead of using a local event loop, control the flashing through timers
and lambdas. Move the actual hiding of the popup then into a helper that
gets called when the flashing is done.
Note: this changes behavior -the popup will not be hidden when
hidePopup returns. And since events continue get processed during the
flashing effect, we might still get reentrancy (so the code added in
accc833e556ba54038d1cc7e261a936492145240 has to stay anyway).
Change-Id: I2ce20520dea16bd3be78544e9fdd059a2969a795
Reviewed-by: Tor Arne Vestbø <[email protected]>
Diffstat (limited to 'src/network/access/qnetworkreplywasmimpl.cpp')
0 files changed, 0 insertions, 0 deletions
