Commit ac9643c8 authored by Morten Johan Sørvig's avatar Morten Johan Sørvig
Browse files

Make flushWindowSystemEvents return ev. accepted


flushWindowSystemEvents() now returns whether the
most recent event added to the queue was accepted
by Qt or not.

Use QAtomicInt to store the accepted state in order
to avoid a data race on it between the Gui thread
and the event poster thread.

Change-Id: I6c111fdaecda5c514307ca0749a54075fe8e872f
Reviewed-by: default avatarJørgen Lind <jorgen.lind@theqtcompany.com>
Showing with 19 additions and 4 deletions
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