path: root/src/plugins/platforms/windows/qwindowsinputcontext.cpp
diff options
authorBradley T. Hughes <>2012-02-01 14:02:02 +0100
committerQt by Nokia <>2012-02-02 09:27:25 +0100
commitb2b3abe0ebc0ca147e1a29d06d1872bc09bf16cc (patch)
tree83c0b86549cd05525a93dc9542e204622f2e8d40 /src/plugins/platforms/windows/qwindowsinputcontext.cpp
parent8fad23f3261bdcf9bd0e11980ebfc3b00c2469c6 (diff)
Remove duplicated function from QCocoaEventDispatcher
The qt_mac_waitForMoreModalSessionEvents() is identical to qt_mac_waitForMoreEvents(), except that it passes a different inMode parameter to [NSApp nextEventMatchingMask]. Change the latter function to take the mode as a parameter itself, defaulting to the default mode. Change the dequeue parameter to [NSApp nextEventMatchingMask] from YES to NO. Having the function dequeue the event, and then immediately reposting the event is not necessary. Change-Id: Iba45d41ad3ff4d5721d1068e6d5c78585cb15810 Reviewed-by: Richard Moe Gustavsen <>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsinputcontext.cpp')
0 files changed, 0 insertions, 0 deletions