diff options
Diffstat (limited to 'src/quickcontrols2/material/qquickmaterialstyle.cpp')
-rw-r--r-- | src/quickcontrols2/material/qquickmaterialstyle.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/quickcontrols2/material/qquickmaterialstyle.cpp b/src/quickcontrols2/material/qquickmaterialstyle.cpp index 9114462828..dbe7347acc 100644 --- a/src/quickcontrols2/material/qquickmaterialstyle.cpp +++ b/src/quickcontrols2/material/qquickmaterialstyle.cpp @@ -1156,8 +1156,7 @@ QColor QQuickMaterialStyle::shade(const QColor &color, Shade shade) const case ShadeA700: return darkerShade(color, m_theme == Light ? 0.12 : 0.38); default: - Q_UNREACHABLE(); - return QColor(); + Q_UNREACHABLE_RETURN(QColor()); } } |