diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2010-01-08 14:13:54 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2010-01-08 14:14:55 (GMT) |
commit | 5dfcb52fb853ae7f28acc83e2be99f999e1bf31e (patch) | |
tree | 021f8ae9c619e097c2348ecf95060a2bc3b8204b /src | |
parent | a98fd80bf018e21fb1d0216bccf39de57da4950c (diff) | |
download | Qt-5dfcb52fb853ae7f28acc83e2be99f999e1bf31e.zip Qt-5dfcb52fb853ae7f28acc83e2be99f999e1bf31e.tar.gz Qt-5dfcb52fb853ae7f28acc83e2be99f999e1bf31e.tar.bz2 |
Make minimaldfb input more efficient
copy paste error :(
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/graphicssystems/minimaldfb/qdirectfbinput.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/graphicssystems/minimaldfb/qdirectfbinput.cpp b/src/plugins/graphicssystems/minimaldfb/qdirectfbinput.cpp index 1926367..17fdd10 100644 --- a/src/plugins/graphicssystems/minimaldfb/qdirectfbinput.cpp +++ b/src/plugins/graphicssystems/minimaldfb/qdirectfbinput.cpp @@ -36,6 +36,7 @@ void InputSocketWaiter::run() break; emit newEvent(); QMutex waitForProcessingMutex; + waitForProcessingMutex.lock(); m_finishedProcessingEvents.wait(&waitForProcessingMutex); } m_cleanupMutex.unlock(); |