Use deliverUpdateRequest on QPlatformWindow instead of QWindowPrivate

This is because bff59f87ba11cac1dfa710f021522372de7a776f in qtbase.

Task-number: QTBUG-67480
Change-Id: I2bb89f94ecc1d78e8919cd16e7bf9d8877baf121
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
Johan Klokkhammer Helsing 2018-04-04 14:28:44 +02:00 committed by Liang Qi
parent 91e81af14c
commit faf99279d4

View File

@ -596,9 +596,8 @@ void QWaylandWindow::frameCallback(void *data, struct wl_callback *callback, uin
self->mWaitingForFrameSync = false;
if (self->mUpdateRequested) {
QWindowPrivate *w = QWindowPrivate::get(self->window());
self->mUpdateRequested = false;
w->deliverUpdateRequest();
self->deliverUpdateRequest();
}
}