Doc: QSizePolicy: Fix documentation warnings
warning: Can't link to 'controlType()' warning: Can't link to 'horizontalPolicy()' warning: Can't link to 'verticalPolicy()' Change-Id: I6b31acebf183defee7b4ab36976034ed4a3fc98a Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
parent
8d11df83d4
commit
cf7d3b524d
@ -112,7 +112,7 @@ public:
|
||||
|
||||
QT_SIZEPOLICY_CONSTEXPR QSizePolicy() Q_DECL_NOTHROW : data(0) { }
|
||||
|
||||
#ifdef Q_COMPILER_UNIFORM_INIT
|
||||
#if defined(Q_COMPILER_UNIFORM_INIT) && !defined(Q_QDOC)
|
||||
QT_SIZEPOLICY_CONSTEXPR QSizePolicy(Policy horizontal, Policy vertical, ControlType type = DefaultType) Q_DECL_NOTHROW
|
||||
: bits{0, 0, quint32(horizontal), quint32(vertical),
|
||||
type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0}
|
||||
|
Loading…
x
Reference in New Issue
Block a user