Commit 90ce9701 authored by Laszlo Agocs's avatar Laszlo Agocs
Browse files

Fix losing dirty state when calling update() from paintGL()


When the paint for the QOpenGLWidget was in invoked on the
fast path, where only that widget was dirty, the resetWidget
call after sending the paint event removed the widget from the
dirty list, making it impossible to schedule an update during the
event handling. The correct way is to clean the list and then send
the paint events.

Change-Id: Icdad5686ded7944fd1c8af56496f725e163a60e6
Reviewed-by: default avatarGunnar Sletta <gunnar@sletta.org>
No related merge requests found
Showing with 6 additions and 1 deletion
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment