Doc: Fix typo in snippet

Resolves "reference to non-static member function must be called" error.

Fixes: QTBUG-72403
Change-Id: Iebd865ff553736df43548b72b45ed3f4711fffc1
Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io>
bb10
Paul Wicking 2018-12-11 13:17:07 +01:00
parent d99b3c451b
commit 9400a120ea
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@
}
bool event(QEvent *e) {
if (e->type == QEvent::UpdateRequest)
if (e->type() == QEvent::UpdateRequest)
render();
return QWindow::event(e);
}