From 7d7dc55055c593c44dfaf720b9c8f195661e3f37 Mon Sep 17 00:00:00 2001 From: Aleksei German Date: Wed, 5 Jun 2019 17:02:14 +0200 Subject: [PATCH] QtDesignStudio Fix for Palette Change-Id: I78f41db19bd1eeb4c2cf775bad4c9e7461ad9d3d Reviewed-by: Thomas Hartmann --- .../components/propertyeditor/simplecolorpalette.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)