fix: добавлена иконка для окна "О программе" (#55)

Closes #45.
This commit is contained in:
MisterMLiL 2023-10-03 12:49:10 +03:00 committed by GitHub
parent 3a655178d4
commit 023a4a5142
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,6 +97,11 @@ class MainWindow(QMainWindow):
def on_aboutmenuaction_triggered(self):
global about_window
about_window = AboutWindow()
icon = QIcon()
icon.addFile(resource_path("ui/images/logo.ico"), QSize(), QIcon.Normal, QIcon.Off)
about_window.setWindowIcon(icon)
about_window.show()
@Slot()