From 28f8ac15898f029e86ab7cb01f41964ac7997538 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Tue, 2 Feb 2016 17:58:30 -0200 Subject: Changes to make code more portable across different compilers. --- colorscale.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'colorscale.cpp') diff --git a/colorscale.cpp b/colorscale.cpp index 38898c3..06852d4 100644 --- a/colorscale.cpp +++ b/colorscale.cpp @@ -1,7 +1,7 @@ #include "colorscale.h" ColorScale::ColorScale(const QColor &firstColor, const QColor &lastColor) - : m_colors{firstColor, lastColor} + : m_colors{{firstColor, lastColor}} { setExtents(0, 1); } -- cgit v1.2.3