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:
parent
c879cf0dcf
commit
3705b93c43
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user