summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-08-23 17:15:07 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-23 18:05:31 +0200
commit3705b93c438192465ca9b19c73f5fbf3ae7f8ddc (patch)
tree25ff36c0328d6c0014088304c1ae87a53a17a6d9 /src
parentc879cf0dcf76d1f1ea29cf0fde671a9899c3d278 (diff)
Compile without the deprecated filterEvent function
Use the filterNativeEvent function, which also takes the name of the event. Change-Id: Ifa3dd6285a2a526b5c3de5a86a74ead706534759 Reviewed-by: David Faure <faure@kde.org>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/kernel/qeventdispatcher_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qeventdispatcher_win.cpp b/src/corelib/kernel/qeventdispatcher_win.cpp
index cf182c9c29..1ad68fe623 100644
--- a/src/corelib/kernel/qeventdispatcher_win.cpp
+++ b/src/corelib/kernel/qeventdispatcher_win.cpp
@@ -736,7 +736,7 @@ bool QEventDispatcherWin32::processEvents(QEventLoop::ProcessEventsFlags flags)
return false;
}
- if (!filterEvent(&msg)) {
+ if (!filterNativeEvent(QByteArrayLiteral("windows_generic_MSG"), &msg, 0)) {
TranslateMessage(&msg);
DispatchMessage(&msg);
}