mirror of
https://github.com/YACReader/yacreader
synced 2025-12-21 16:42:50 -05:00
fix the fix for issue #30
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user