diff --git a/buildPy2exe.py b/buildPy2exe.py index d9a60d7..47c10b0 100755 --- a/buildPy2exe.py +++ b/buildPy2exe.py @@ -688,7 +688,8 @@ guiIcons = [ 'resources/shield_edit.png', 'resources/shield_add.png', 'resources/email_go.png', - 'resources/world_add.png', 'resources/film_add.png', 'resources/delete.png', 'resources/spinner.mng' + 'resources/world_add.png', 'resources/film_add.png', 'resources/delete.png', 'resources/spinner.mng', + 'resources/syncplayAbout.png', 'resources/syncplayAbout@2x.png' ] guiIcons = ['syncplay/' + s for s in guiIcons] diff --git a/syncplay/resources/syncplayAbout.png b/syncplay/resources/syncplayAbout.png new file mode 100644 index 0000000..63c472c Binary files /dev/null and b/syncplay/resources/syncplayAbout.png differ diff --git a/syncplay/resources/syncplayAbout@2x.png b/syncplay/resources/syncplayAbout@2x.png new file mode 100644 index 0000000..8a6123d Binary files /dev/null and b/syncplay/resources/syncplayAbout@2x.png differ diff --git a/syncplay/ui/gui.py b/syncplay/ui/gui.py index 7776bac..57c78e2 100755 --- a/syncplay/ui/gui.py +++ b/syncplay/ui/gui.py @@ -137,9 +137,10 @@ class AboutDialog(QtWidgets.QDialog): licenseLabel = QtWidgets.QLabel( "

Copyright © 2012–2019 Syncplay

" + getMessage("about-dialog-license-text") + "

") - aboutIconPixmap = QtGui.QPixmap(resourcespath + "syncplay.png") + aboutIcon = QtGui.QIcon() + aboutIcon.addFile(resourcespath + "syncplayAbout.png") aboutIconLabel = QtWidgets.QLabel() - aboutIconLabel.setPixmap(aboutIconPixmap.scaled(65, 65, Qt.KeepAspectRatio)) + aboutIconLabel.setPixmap(aboutIcon.pixmap(64, 64)) aboutLayout = QtWidgets.QGridLayout() aboutLayout.addWidget(aboutIconLabel, 0, 0, 3, 4, Qt.AlignHCenter) aboutLayout.addWidget(nameLabel, 3, 0, 1, 4)