Updated Application Icons

- Updated application icons
- Added .icns file for macOS
- (Potentially) stopped macOS dock icon from being updated with a different icon during runtime
This commit is contained in:
Travis Abendshien
2024-05-12 21:05:29 -07:00
parent f69f173368
commit f8d44c5fae
4 changed files with 4 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 628 KiB

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 992 KiB

After

Width:  |  Height:  |  Size: 677 KiB

View File

@@ -439,9 +439,10 @@ class QtDriver(QObject):
# self.main_window.centralWidget().layout().addWidget(menu_bar, 0,0,1,1)
# self.main_window.tb_layout.addWidget(menu_bar)
icon = QIcon()
icon.addFile(icon_path)
self.main_window.setWindowIcon(icon)
if sys.platform != "darwin":
icon = QIcon()
icon.addFile(icon_path)
self.main_window.setWindowIcon(icon)
self.preview_panel = PreviewPanel(self.lib, self)
l: QHBoxLayout = self.main_window.splitter