mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-02 13:22:21 -04:00
Fix icons and theming under Wayland
This commit is contained in:
parent
0e5b9bbf6b
commit
725cbeea63
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue