From 05137bc91418010c433b8c637c56907b6aa11b08 Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Fri, 6 Apr 2018 09:15:41 +0200 Subject: [PATCH] Revert "Bring QWindowPrivate::deliverUpdateRequest() back temporarily" This reverts commit 6ada4155aff6a106d918ec1b93923bed9617ab27. The fix to use new private API landed in qtwayland e3fa740d20. Task-number: QTBUG-67480 Change-Id: Ie01e4b423ca326b81740f195562244e733a66d72 Reviewed-by: Johan Helsing --- src/gui/kernel/qwindow.cpp | 6 ------ src/gui/kernel/qwindow_p.h | 2 -- 2 files changed, 8 deletions(-) diff --git a/src/gui/kernel/qwindow.cpp b/src/gui/kernel/qwindow.cpp index 2eee8928e4..0a41196b5b 100644 --- a/src/gui/kernel/qwindow.cpp +++ b/src/gui/kernel/qwindow.cpp @@ -2358,12 +2358,6 @@ bool QWindow::event(QEvent *ev) return true; } -void QWindowPrivate::deliverUpdateRequest() -{ - if (platformWindow) - platformWindow->deliverUpdateRequest(); -} - /*! Schedules a QEvent::UpdateRequest event to be delivered to this window. diff --git a/src/gui/kernel/qwindow_p.h b/src/gui/kernel/qwindow_p.h index 7ef73eb410..adc9414b0f 100644 --- a/src/gui/kernel/qwindow_p.h +++ b/src/gui/kernel/qwindow_p.h @@ -124,8 +124,6 @@ public: bool applyCursor(); #endif - void deliverUpdateRequest(); - QPoint globalPosition() const; QWindow *topLevelWindow() const;