Fix QWidget::saveGeometry().

Bring back code that was accidentally removed.

Change-Id: Ie1a4d22caa206bc8bb8e678879935e79009e9622
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
Friedemann Kleint 2012-01-10 15:58:31 +01:00 committed by Qt by Nokia
parent d7ec8bf29a
commit 75af95cbeb

View File

@ -6555,6 +6555,9 @@ QByteArray QWidget::saveGeometry() const
#ifdef Q_WS_MAC
<< newFramePosition
<< newNormalPosition
#else
<< frameGeometry()
<< normalGeometry()
#endif // Q_WS_MAC
<< qint32(QApplication::desktop()->screenNumber(this))
<< quint8(windowState() & Qt::WindowMaximized)