diff --git a/src/widgets/kernel/qlayoutitem.cpp b/src/widgets/kernel/qlayoutitem.cpp index cf220796c51..bf252592432 100644 --- a/src/widgets/kernel/qlayoutitem.cpp +++ b/src/widgets/kernel/qlayoutitem.cpp @@ -675,6 +675,12 @@ bool QWidgetItem::isEmpty() const return wid->isHidden() || wid->isWindow(); } +/*! + Returns the control type associated with the widget for which + this size policy applies. + + \sa QSizePolicy::controlType() + */ QSizePolicy::ControlTypes QWidgetItem::controlTypes() const { return wid->sizePolicy().controlType();