mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-06-03 17:08:08 -04:00
add const, helps understand the function better
This commit is contained in:
parent
4a8da73f0e
commit
0c4f2f8e62
@ -901,7 +901,7 @@ void XCFImageFormat::setPalette(XCFImage &xcf_image, QImage &image)
|
||||
void XCFImageFormat::assignImageBytes(Layer &layer, uint i, uint j)
|
||||
{
|
||||
QImage &image = layer.image_tiles[j][i];
|
||||
uchar *tile = layer.tile;
|
||||
const uchar *tile = layer.tile;
|
||||
const int width = image.width();
|
||||
const int height = image.height();
|
||||
const int bytesPerLine = image.bytesPerLine();
|
||||
|
Loading…
x
Reference in New Issue
Block a user