From ace8096dd52ebf8e0d7e5d2c339675f9a1b29fda Mon Sep 17 00:00:00 2001 From: Nils <> Date: Fri, 26 Jun 2020 18:13:38 +0200 Subject: [PATCH] Set more qt metadata --- qtgui/mainwindow.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qtgui/mainwindow.py b/qtgui/mainwindow.py index d3685c3..4a095a1 100644 --- a/qtgui/mainwindow.py +++ b/qtgui/mainwindow.py @@ -116,10 +116,12 @@ class MainWindow(QtWidgets.QMainWindow): self.qtApp.setWindowIcon(QtGui.QIcon(":icon.png")) #non-template part of the program self.qtApp.setApplicationName(f"{METADATA['name']}") self.qtApp.setApplicationDisplayName(f"{METADATA['name']}") + self.qtApp.setOrganizationName("Laborejo Software Suite") + self.qtApp.setOrganizationDomain("laborejo.org") + self.qtApp.setApplicationVersion(METADATA["version"]) + QtGui.QIcon.setThemeName("hicolor") #audio applications can be found here. We have no need for other icons. logger.info("Init MainWindow") - QtGui.QIcon.setThemeName("hicolor") #audio applications can be found here. We have no need for other icons. - #QtGui.QIcon.setFallbackThemeName("hicolor") #only one, not a list. This is the fallback if the theme can't be found. Not if icons can't be found in a theme. #iconPaths = QtGui.QIcon.themeSearchPaths() #iconPaths += ["/usr/share/icons/hicolor", "/usr/share/pixmaps"]