QtWidgets: Change QTLWExtra::window from QWidgetWindow to QWindow.

None of QWidgetWindow's API is used in the code.

Task-number: QTBUG-33079
Change-Id: Iecb1e174645eff687ee0d8b29417c30a2c508311
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
Friedemann Kleint 2016-03-16 08:39:12 +01:00
parent 69335920f7
commit a1d4e4c97e

View File

@ -68,7 +68,6 @@ QT_BEGIN_NAMESPACE
// Extra QWidget data
// - to minimize memory usage for members that are seldom used.
// - top-level widgets have extra extra data to reduce cost further
class QWidgetWindow;
class QPaintEngine;
class QPixmap;
class QWidgetBackingStore;
@ -154,7 +153,7 @@ struct QTLWExtra {
QWidgetBackingStoreTracker backingStoreTracker;
QBackingStore *backingStore;
QPainter *sharedPainter;
QWidgetWindow *window;
QWindow *window;
QOpenGLContext *shareContext;
// Implicit pointers (shared_null).