Don't call QPlatformWindow::setGeometry twice in QWasmWindow
QWindowSystemInterface::handleGeometryChange already does that Pick-to: 6.4 Change-Id: I983bf6bbee2e1099e6a15fe77a7647b3d05eb52e Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
This commit is contained in:
parent
7f4433b13d
commit
505673ee06
@ -147,7 +147,6 @@ void QWasmWindow::setGeometry(const QRect &rect)
|
||||
shouldInvalidate = m_normalGeometry.size() != r.size();
|
||||
m_normalGeometry = r;
|
||||
}
|
||||
QPlatformWindow::setGeometry(r);
|
||||
QWindowSystemInterface::handleGeometryChange(window(), r);
|
||||
if (shouldInvalidate)
|
||||
invalidate();
|
||||
|
Loading…
x
Reference in New Issue
Block a user