summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopenglprogrambinarycache.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2018-10-08 10:10:07 +0200
committerUlf Hermann <ulf.hermann@qt.io>2018-10-16 07:09:36 +0000
commit402efef57bb6a04ad778d3139100becc2cba31eb (patch)
treed10b115a26e70a52e04d0a9fc688e4b4d1dac781 /src/gui/opengl/qopenglprogrambinarycache.cpp
parent00ae1e6b7bf6efa5f5e57d37844e44d521604fb6 (diff)
Don't drop update requests when closing and reopening windows
Before commit 4d15f393a76cfcc4d54f311884fedac5bf0f72ee update requests were handled by a timer on QWindow. Therefore they survived the closing and re-opening of platform windows. Now, as the timer was moved to QPlatformWindow, it gets reset when you close the QWindow, and any pending update requests are lost. However, we do set the updateRequestPending variable on QWindow when requesting an update. Therefore, we can also restore the update timer on the platform window when creating it. Change-Id: I23b00f24a46706beac7d1455edd8a5623db46b22 Fixes: QTBUG-70957 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/gui/opengl/qopenglprogrambinarycache.cpp')
0 files changed, 0 insertions, 0 deletions