diff options
Diffstat (limited to 'src/gui/painting/qcolor.h')
-rw-r--r-- | src/gui/painting/qcolor.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/painting/qcolor.h b/src/gui/painting/qcolor.h index 1e24825737..5898f79f24 100644 --- a/src/gui/painting/qcolor.h +++ b/src/gui/painting/qcolor.h @@ -228,8 +228,7 @@ public: private: void invalidate() noexcept; - template <typename String> - bool setColorFromString(String name); + bool setColorFromString(QAnyStringView) noexcept; static constexpr bool isRgbaValid(int r, int g, int b, int a = 255) noexcept Q_DECL_CONST_FUNCTION { |