diff options
author | Morten Sorvig <morten.sorvig@nokia.com> | 2010-01-28 06:05:36 +0100 |
---|---|---|
committer | Morten Sorvig <morten.sorvig@nokia.com> | 2010-01-28 06:05:36 +0100 |
commit | 373eb7c58ffd5fe1c57bdf2a1c91683cfcc131f9 (patch) | |
tree | caba809bdbea6ffb26c685397a15bd9356dedeee | |
parent | 8eaae0130043127b095f74d4cdca0585a5d49684 (diff) |
Send posted events (e.g. paint events) only when
there are no other events in the queue.
-rw-r--r-- | src/gui/kernel/qeventdispatcher_nacl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qeventdispatcher_nacl.cpp b/src/gui/kernel/qeventdispatcher_nacl.cpp index 578cb70bb0..e15e334911 100644 --- a/src/gui/kernel/qeventdispatcher_nacl.cpp +++ b/src/gui/kernel/qeventdispatcher_nacl.cpp @@ -103,10 +103,10 @@ QEventDispatcherNaCl::~QEventDispatcherNaCl() bool QEventDispatcherNaCl::processEvents(QEventLoop::ProcessEventsFlags flags) { do { - QApplication::sendPostedEvents(); NaClMultimediaEvent event; if (nacl_video_poll_event(&event) != 0) { activateTimers(); + QApplication::sendPostedEvents(); continue; } |