[packagechooser] Make scaled screenshots nicer
- patch suggested by flyingcakes85 - patch tested by killajoe FIXES #1807
This commit is contained in:
parent
748b16ba7f
commit
b9a243028b
@ -74,7 +74,7 @@ smartClip( const QPixmap& pixmap, QSize size )
|
|||||||
return pixmap.copy( x, y, new_width, new_height );
|
return pixmap.copy( x, y, new_width, new_height );
|
||||||
}
|
}
|
||||||
|
|
||||||
return pixmap.scaled( size, Qt::KeepAspectRatio );
|
return pixmap.scaled( size, Qt::KeepAspectRatio, Qt::SmoothTransformation );
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user