mirror of
https://github.com/leozide/leocad
synced 2025-01-17 18:11:42 +01:00
Fixed compiling on some Qt 5.5.
This commit is contained in:
parent
50bb299095
commit
5a7faa4323
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ void lcRenderDialog::Update()
|
|||
{
|
||||
for (int x = 0; x < Width; x++)
|
||||
{
|
||||
mImage.setPixelColor(x, y, QColor::fromRgb(Pixels[0], Pixels[1], Pixels[2], Pixels[3]));
|
||||
mImage.setPixel(x, y, qRgba(Pixels[0], Pixels[1], Pixels[2], Pixels[3]));
|
||||
Pixels += 4;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue