diff --git a/ColorPicker.cpp b/ColorPicker.cpp index ef5d272..9db0e5c 100644 --- a/ColorPicker.cpp +++ b/ColorPicker.cpp @@ -73,7 +73,7 @@ // Values from this come up the same as doing: QColor::fromHsvF(hue, sat, 1.0).rgba() -uint32_t rgbFromHsvF(qreal h1, qreal s, qreal v, qreal a) +uint32_t rgbFromHsvF(qreal h1, qreal s, qreal v, qreal /*a*/) { uint16_t hue = h1 == qreal(-1.0) ? USHRT_MAX : qRound(h1 * 36000); h1 = hue == 36000 ? 0 : hue / qreal(6000.);