Merge branch 'wayland-theming' of https://github.com/YakoYakoYokuYoku/onionshare into YakoYakoYokuYoku-wayland-theming

This commit is contained in:
Micah Lee 2022-07-04 16:53:20 -04:00
commit a666a0620d
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -48,8 +48,10 @@ class Application(QtWidgets.QApplication):
def __init__(self, common): def __init__(self, common):
if common.platform == "Linux" or common.platform == "BSD": if common.platform == "Linux" or common.platform == "BSD":
self.setAttribute(QtCore.Qt.AA_X11InitThreads, True) self.setAttribute(QtCore.Qt.AA_X11InitThreads, True)
self.setDesktopFileName("org.onionshare.OnionShare")
self.setOrganizationDomain("org.onionshare.OnionShare")
self.setOrganizationName("OnionShare")
QtWidgets.QApplication.__init__(self, sys.argv) QtWidgets.QApplication.__init__(self, sys.argv)
self.setStyle("Fusion")
# Check color mode on starting the app # Check color mode on starting the app
self.color_mode = self.get_color_mode(common) self.color_mode = self.get_color_mode(common)