diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2016-01-18 21:43:16 +0100 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2016-01-18 21:43:16 +0100 |
commit | 320450fda5cdcfa542aec6687c2b02e401d729d1 (patch) | |
tree | c351eeebb9d4c9cf2f7fc7b33a201ebfd9fa2754 | |
parent | 74f0a0fe6c9394ff8dc321ab1968408f45650171 (diff) |
ColorScale & ContinuousColorScale: minor code standardization.
-rw-r--r-- | colorscale.h | 1 | ||||
-rw-r--r-- | continuouscolorscale.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/colorscale.h b/colorscale.h index 5974cef..1eb8c47 100644 --- a/colorscale.h +++ b/colorscale.h @@ -2,6 +2,7 @@ #define COLORSCALE_H #include <initializer_list> + #include <QColor> #include <QList> diff --git a/continuouscolorscale.h b/continuouscolorscale.h index 0f9478c..860decf 100644 --- a/continuouscolorscale.h +++ b/continuouscolorscale.h @@ -3,7 +3,8 @@ #include "colorscale.h" -class ContinuousColorScale : public ColorScale +class ContinuousColorScale + : public ColorScale { public: ContinuousColorScale(std::initializer_list<QColor> colors); |