1
0

scaled pixmaps no longer pixelated

This commit is contained in:
SomberNight
2018-06-01 22:36:56 +02:00
parent cfc52e6441
commit 3031f594cb
3 changed files with 4 additions and 4 deletions

View File

@@ -314,7 +314,7 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
def set_icon(self, filename):
prior_filename, self.icon_filename = self.icon_filename, filename
self.logo.setPixmap(QPixmap(filename).scaledToWidth(60))
self.logo.setPixmap(QPixmap(filename).scaledToWidth(60, mode=Qt.SmoothTransformation))
return prior_filename
def set_layout(self, layout, title=None, next_enabled=True):