[packagechooser] Make scaled screenshots nicer

- patch suggested by flyingcakes85
- patch tested by killajoe

FIXES #1807
This commit is contained in:
Adriaan de Groot 2021-10-26 15:24:44 +02:00
parent 748b16ba7f
commit b9a243028b

View File

@ -74,7 +74,7 @@ smartClip( const QPixmap& pixmap, QSize size )
return pixmap.copy( x, y, new_width, new_height );
}
return pixmap.scaled( size, Qt::KeepAspectRatio );
return pixmap.scaled( size, Qt::KeepAspectRatio, Qt::SmoothTransformation );
}
void