macOS: Forward [QNSViewMouseMoveHelper cursorUpdate:] to view

Calling [self cursorUpdate:] doesn't make much sense, and was probably
an oversight. The event is also delivered straight to the view, not to
the owner of the tracking area (as the documentation says it should),
but we keep this method implemented just in case.

Change-Id: I176a2aa782da316d1fe11ce15a89195595d80618
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
bb10
Tor Arne Vestbø 2017-08-28 15:11:05 +02:00
parent 9507edddf2
commit 1f9284b624
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ static QTouchDevice *touchDevice = 0;
- (void)cursorUpdate:(NSEvent *)theEvent
{
[self cursorUpdate:theEvent];
[view cursorUpdate:theEvent];
}
@end