mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
remove unused QColorShower member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
f6426ff1b2
commit
14ae7fc867
1 changed files with 0 additions and 5 deletions
|
@ -950,7 +950,6 @@ private:
|
|||
QColSpinBox *alphaEd;
|
||||
QLabel *alphaLab;
|
||||
QColorShowLabel *lab;
|
||||
bool rgbOriginal;
|
||||
QColorDialog *colorDialog;
|
||||
|
||||
friend class QColorDialog;
|
||||
|
@ -1186,7 +1185,6 @@ void QColorShower::showCurrentColor()
|
|||
|
||||
void QColorShower::rgbEd()
|
||||
{
|
||||
rgbOriginal = true;
|
||||
curCol = qRgba(rEd->value(), gEd->value(), bEd->value(), currentAlpha());
|
||||
|
||||
rgb2hsv(currentColor(), hue, sat, val);
|
||||
|
@ -1202,7 +1200,6 @@ void QColorShower::rgbEd()
|
|||
|
||||
void QColorShower::hsvEd()
|
||||
{
|
||||
rgbOriginal = false;
|
||||
hue = hEd->value();
|
||||
sat = sEd->value();
|
||||
val = vEd->value();
|
||||
|
@ -1222,7 +1219,6 @@ void QColorShower::hsvEd()
|
|||
|
||||
void QColorShower::setRgb(QRgb rgb)
|
||||
{
|
||||
rgbOriginal = true;
|
||||
curCol = rgb;
|
||||
|
||||
rgb2hsv(currentColor(), hue, sat, val);
|
||||
|
@ -1244,7 +1240,6 @@ void QColorShower::setHsv(int h, int s, int v)
|
|||
if (h < -1 || (uint)s > 255 || (uint)v > 255)
|
||||
return;
|
||||
|
||||
rgbOriginal = false;
|
||||
hue = h; val = v; sat = s;
|
||||
QColor c;
|
||||
c.setHsv(hue, sat, val);
|
||||
|
|
Loading…
Add table
Reference in a new issue