mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Merge branch 'wayland-theming' of https://github.com/YakoYakoYokuYoku/onionshare into YakoYakoYokuYoku-wayland-theming
This commit is contained in:
commit
a666a0620d
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user