summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qcolor.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-02-15 11:48:32 +0100
committerMarc Mutz <marc.mutz@qt.io>2022-02-16 04:20:51 +0100
commita24ef92468b5d482733b8258265474ca98646a1f (patch)
tree9365d4a0d81e22afb0a3beb15bf98ad087eefd44 /src/gui/painting/qcolor.cpp
parent221df41572cc5bff108eb5809be4b081075a5cbb (diff)
QColor: eradicate QT_STRINGVIEW_LEVEL
It's not used and not useful. Task-number: QTBUG-100861 Pick-to: 6.3 6.2 Change-Id: I30f7f41311182f056f2f6d5a9b49385fb09d194e Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/painting/qcolor.cpp')
-rw-r--r--src/gui/painting/qcolor.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/painting/qcolor.cpp b/src/gui/painting/qcolor.cpp
index 466124d6ee..3c8cb58da6 100644
--- a/src/gui/painting/qcolor.cpp
+++ b/src/gui/painting/qcolor.cpp
@@ -873,7 +873,6 @@ QString QColor::name(NameFormat format) const
return QString();
}
-#if QT_STRINGVIEW_LEVEL < 2
/*!
Sets the RGB value of this QColor to \a name, which may be in one
of these formats:
@@ -902,7 +901,6 @@ void QColor::setNamedColor(const QString &name)
{
setColorFromString(qToStringViewIgnoringNull(name));
}
-#endif
/*!
\overload
@@ -924,7 +922,6 @@ void QColor::setNamedColor(QLatin1String name)
setColorFromString(name);
}
-#if QT_STRINGVIEW_LEVEL < 2
/*!
\since 4.7
@@ -940,7 +937,6 @@ bool QColor::isValidColor(const QString &name)
{
return isValidColor(qToStringViewIgnoringNull(name));
}
-#endif
/*!
\overload