Clear QWindowPrivate::positionAutomatic in setFramePosition().

Task-number: QTBUG-31166

Change-Id: Ic0fa26e93db5a035539850ece819b1df2c58e95a
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
This commit is contained in:
Friedemann Kleint 2013-05-21 09:55:54 +02:00 committed by The Qt Project
parent 004f25df78
commit b94fe52f85

View File

@ -1403,6 +1403,7 @@ void QWindow::setFramePosition(const QPoint &point)
if (d->platformWindow) {
d->platformWindow->setGeometry(QRect(point, size()));
} else {
d->positionAutomatic = false;
d->geometry.moveTopLeft(point);
}
}