diff --git a/src/plugins/qmldesigner/components/propertyeditor/simplecolorpalette.cpp b/src/plugins/qmldesigner/components/propertyeditor/simplecolorpalette.cpp index 7fada3f0d38..c88d83aa0a5 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/simplecolorpalette.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/simplecolorpalette.cpp @@ -43,7 +43,7 @@ PaletteColor::PaletteColor(const QString &colorCode) , m_isFavorite(false) {} -PaletteColor::PaletteColor(const QColor &value) +PaletteColor::PaletteColor(const QColor &color) : m_color(color) , m_colorCode(color.name(QColor::HexArgb)) , m_isFavorite(false)