aboutsummaryrefslogtreecommitdiff
path: root/colorscale.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'colorscale.cpp')
-rw-r--r--colorscale.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/colorscale.cpp b/colorscale.cpp
index 06852d4..f41e7d9 100644
--- a/colorscale.cpp
+++ b/colorscale.cpp
@@ -32,7 +32,7 @@ void ColorScale::setExtents(float min, float max)
m_max = max;
}
-static QColor lerp(const QColor &c1, const QColor &c2, float _t)
+QColor ColorScale::lerp(const QColor &c1, const QColor &c2, float _t)
{
qreal r1, g1, b1, a1;
qreal r2, g2, b2, a2;