diff --git a/clients/modernsystem/modernsys.cpp b/clients/modernsystem/modernsys.cpp index 78707efedc..e77dcac293 100644 --- a/clients/modernsystem/modernsys.cpp +++ b/clients/modernsystem/modernsys.cpp @@ -114,7 +114,7 @@ static void make_button_fx(const QColorGroup &g, QPixmap *pix, bool light=false) *btnSource = btnSource->convertDepth(32); if(light) btnColor = btnColor.light(120); - btnColor.hsv(&destH, &destS, &destV); + btnColor.getHsv(&destH, &destS, &destV); QImage btnDest(14, 15, 32); unsigned int *srcData = (unsigned int *)btnSource->bits(); @@ -122,7 +122,7 @@ static void make_button_fx(const QColorGroup &g, QPixmap *pix, bool light=false) QColor srcColor; for(i=0; i < btnSource->width()*btnSource->height(); ++i){ srcColor.setRgb(srcData[i]); - srcColor.hsv(&srcH, &srcS, &srcV); + srcColor.getHsv(&srcH, &srcS, &srcV); srcColor.setHsv(destH, destS, srcV); destData[i] = srcColor.rgb(); } diff --git a/clients/plastik/misc.cpp b/clients/plastik/misc.cpp index da491b2bae..d9ea2f640c 100644 --- a/clients/plastik/misc.cpp +++ b/clients/plastik/misc.cpp @@ -32,7 +32,7 @@ QColor hsvRelative(const QColor& baseColor, int relativeH, int relativeS, int relativeV) { int h, s, v; - baseColor.hsv(&h, &s, &v); + baseColor.getHsv(&h, &s, &v); h += relativeH; s += relativeS;