QAbstractNativeEventFilter: Fix the Mac example class name

Change-Id: I838350883fa6bd8c80f87fba18f006afd905ed61
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
Laszlo Papp 2022-08-01 19:21:27 +01:00
parent 6ec21881dd
commit 3698186f9d

View File

@ -6,7 +6,7 @@
#import <AppKit/AppKit.h>
bool CocoaNativeEventFilter::nativeEventFilter(const QByteArray &eventType, void *message, qintptr *)
bool MyCocoaEventFilter::nativeEventFilter(const QByteArray &eventType, void *message, qintptr *)
{
if (eventType == "mac_generic_NSEvent") {
NSEvent *event = static_cast<NSEvent *>(message);