macOS: Don't assume m_view is QNSView when calling requestUpdate
Change-Id: I98833c5ecc5816a0926045e10ef0442a39be6b2e Reviewed-by: Jake Petroules <jake.petroules@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
8e098f87bb
commit
29ae5cbaf8
@ -1329,7 +1329,7 @@ void QCocoaWindow::recreateWindowIfNeeded()
|
||||
void QCocoaWindow::requestUpdate()
|
||||
{
|
||||
qCDebug(lcQpaCocoaDrawing) << "QCocoaWindow::requestUpdate" << window();
|
||||
[m_view requestUpdate];
|
||||
[qnsview_cast(m_view) requestUpdate];
|
||||
}
|
||||
|
||||
void QCocoaWindow::requestActivateWindow()
|
||||
|
Loading…
x
Reference in New Issue
Block a user