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>
This commit is contained in:
Thiago Macieira 2012-08-23 17:15:07 +02:00 committed by Qt by Nokia
parent c879cf0dcf
commit 3705b93c43

View File

@ -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);
}