mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
fix the fix for issue #30
This commit is contained in:
parent
035d5817c0
commit
975d7581ce
@ -100,8 +100,8 @@ QImage changeImage( const QImage& image, int value )
|
|||||||
colors[ i ] = qRgb( operation( qRed( colors[ i ] ), value ),
|
colors[ i ] = qRgb( operation( qRed( colors[ i ] ), value ),
|
||||||
operation( qGreen( colors[ i ] ), value ),
|
operation( qGreen( colors[ i ] ), value ),
|
||||||
operation( qBlue( colors[ i ] ), value ));
|
operation( qBlue( colors[ i ] ), value ));
|
||||||
}
|
|
||||||
im.setColorTable(colors);
|
im.setColorTable(colors);
|
||||||
|
}
|
||||||
return im;
|
return im;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user