mirror of
https://github.com/leozide/leocad
synced 2025-01-28 19:58:12 +01:00
Fixed Qt4.
This commit is contained in:
parent
de37b8abf9
commit
bd33085ca3
1 changed files with 1 additions and 1 deletions
|
@ -1141,7 +1141,7 @@ void Project::CreatePartsListImage(lcModel* Model, lcStep Step, const QString& F
|
|||
{
|
||||
for (int y = 0; y < Height; y++)
|
||||
{
|
||||
if (Thumbnail.pixelColor(x, y).alpha())
|
||||
if (qAlpha(Thumbnail.pixel(x, y)))
|
||||
{
|
||||
MinX = qMin(x, MinX);
|
||||
MinY = qMin(y, MinY);
|
||||
|
|
Loading…
Add table
Reference in a new issue