mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-13 21:21:34 -05:00
Fix icons and theming under Wayland
This commit is contained in:
parent
140e5d8036
commit
49630b41af
@ -48,8 +48,10 @@ class Application(QtWidgets.QApplication):
|
||||
def __init__(self, common):
|
||||
if common.platform == "Linux" or common.platform == "BSD":
|
||||
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)
|
||||
self.setStyle("Fusion")
|
||||
|
||||
# Check color mode on starting the app
|
||||
self.color_mode = self.get_color_mode(common)
|
||||
|
Loading…
x
Reference in New Issue
Block a user