Fixed Qt4.

This commit is contained in:
leozide 2017-06-29 11:12:37 -07:00
parent de37b8abf9
commit bd33085ca3

View file

@ -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);