diff options
Diffstat (limited to 'src/widgets/kernel/qwidget_p.h')
| -rw-r--r-- | src/widgets/kernel/qwidget_p.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/widgets/kernel/qwidget_p.h b/src/widgets/kernel/qwidget_p.h index 991b932ecb8..ac417178813 100644 --- a/src/widgets/kernel/qwidget_p.h +++ b/src/widgets/kernel/qwidget_p.h @@ -19,6 +19,9 @@ #include <QtWidgets/private/qtwidgetsglobal_p.h> #include "QtWidgets/qwidget.h" +#if QT_CONFIG(label) +#include <QtWidgets/qlabel.h> +#endif #include "private/qobject_p.h" #include "QtCore/qrect.h" #include "QtCore/qlocale.h" @@ -655,6 +658,10 @@ public: QPaintEngine *extraPaintEngine; mutable const QMetaObject *polished; QGraphicsEffect *graphicsEffect; +#if QT_CONFIG(label) + // labels for which this widget is the buddy widget + QVarLengthArray<QLabel *, 1> labels; +#endif // All widgets are added into the allWidgets set. Once // they receive a window id they are also added to the mapper. // This should just ensure that all widgets are deleted by QApplication |
