summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qcolor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/painting/qcolor.cpp')
-rw-r--r--src/gui/painting/qcolor.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/painting/qcolor.cpp b/src/gui/painting/qcolor.cpp
index 6b666435e6..89a75d8b2b 100644
--- a/src/gui/painting/qcolor.cpp
+++ b/src/gui/painting/qcolor.cpp
@@ -843,11 +843,15 @@ QColor::QColor(Spec spec) noexcept
#if QT_VERSION < QT_VERSION_CHECK(6,0,0)
/*!
+\if !defined(qt6)
\fn QColor::QColor(const QColor &color)
Constructs a color that is a copy of \a color.
\sa isValid()
+\else
+ \nothing
+\endif
*/
#endif