diff options
author | Topi Reinio <topi.reinio@qt.io> | 2017-03-06 14:39:03 +0100 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@qt.io> | 2017-03-08 11:11:54 +0000 |
commit | cf7d3b524df0ffcba28fdbec0e4ce5a8e685564d (patch) | |
tree | 571bebbf24bd3ead060ceff06e08b2ac62a939d8 /src | |
parent | 8d11df83d4bce8bde0228e5ef5077e99b403c728 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/widgets/kernel/qsizepolicy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/kernel/qsizepolicy.h b/src/widgets/kernel/qsizepolicy.h index 07d8393c6f..6cb4e147e9 100644 --- a/src/widgets/kernel/qsizepolicy.h +++ b/src/widgets/kernel/qsizepolicy.h @@ -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} |