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