REG: Fix window repaint geometry
Task-number: QTBUG-37530 Change-Id: I642c8ef8cf7de50e4a84d8356693b82f8674cece Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
This commit is contained in:
parent
f1f07eae2d
commit
12bd35aa24
@ -57,7 +57,7 @@ void QAndroidPlatformRasterWindow::repaint(const QRegion ®ion)
|
||||
if (QAndroidPlatformWindow::parent())
|
||||
return;
|
||||
|
||||
QRect currentGeometry = geometry().translated(mapToGlobal(QPoint(0,0)));
|
||||
QRect currentGeometry = geometry();
|
||||
|
||||
QRect dirtyClient = region.boundingRect();
|
||||
QRect dirtyRegion(currentGeometry.left() + dirtyClient.left(),
|
||||
@ -74,7 +74,7 @@ void QAndroidPlatformRasterWindow::repaint(const QRegion ®ion)
|
||||
|
||||
void QAndroidPlatformRasterWindow::setGeometry(const QRect &rect)
|
||||
{
|
||||
m_oldGeometry = geometry().translated(mapToGlobal(QPoint(0,0)));;
|
||||
m_oldGeometry = geometry();
|
||||
QAndroidPlatformWindow::setGeometry(rect);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user