summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qcolor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/painting/qcolor.h')
-rw-r--r--src/gui/painting/qcolor.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/painting/qcolor.h b/src/gui/painting/qcolor.h
index 420e44b086..2d6db1a14c 100644
--- a/src/gui/painting/qcolor.h
+++ b/src/gui/painting/qcolor.h
@@ -270,7 +270,6 @@ public: // can't give friendship to a namespace, so it needs to be public
};
Q_DECLARE_TYPEINFO(QColor, Q_RELOCATABLE_TYPE);
-#if QT_DEPRECATED_SINCE(6, 6)
inline QColor::QColor(QLatin1StringView aname)
: QColor(fromString(aname)) {}
@@ -282,7 +281,6 @@ inline QColor::QColor(const QString& aname)
inline QColor::QColor(const char *aname)
: QColor(fromString(aname)) {}
-#endif
inline bool QColor::isValid() const noexcept
{ return cspec != Invalid; }