diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2016-02-02 17:58:30 -0200 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2016-02-02 17:58:30 -0200 |
commit | 28f8ac15898f029e86ab7cb01f41964ac7997538 (patch) | |
tree | e4cbfae3d7ec2977f877812a1da62287f7253091 /colorscale.cpp | |
parent | dc50effe61c833da9c15b886d5ebba65620b99f0 (diff) |
Changes to make code more portable across different compilers.
Diffstat (limited to 'colorscale.cpp')
-rw-r--r-- | colorscale.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |