Re-enable QGradient::Preset documentation by explicitly ignoring warnings

Change-Id: Ibde6d905c74a571dc2e9d2942e99682e0a4f9b8c
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
This commit is contained in:
Tor Arne Vestbø 2018-06-29 14:56:41 +02:00
parent a149659c5c
commit 13337096f9
2 changed files with 3 additions and 2 deletions

View File

@ -60,3 +60,6 @@ manifestmeta.highlighted.names = "QtGui/Analog Clock Window Example"
navigation.landingpage = "Qt GUI"
navigation.cppclassespage = "Qt GUI C++ Classes"
# Ignore warnings about undocumented enum values for the QGradient presets
spurious += "Undocumented enum item '.*' in QGradient::Preset"

View File

@ -1341,8 +1341,6 @@ QGradient::QGradient()
\enum QGradient::Preset
\since 5.12
\internal
This enum specifies a set of predefined presets for QGradient,
based on the gradients from https://webgradients.com/.
*/