mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-06 13:24:24 -04:00
Merge branch 'develop' into mig5-info_widgets_download_info
This commit is contained in:
commit
eacb4c9fb0
8 changed files with 36 additions and 22 deletions
|
@ -35,8 +35,8 @@ class Application(QtWidgets.QApplication):
|
|||
and the quick keyboard shortcut.
|
||||
"""
|
||||
def __init__(self):
|
||||
system = platform.system()
|
||||
if system == 'Linux':
|
||||
system = common.get_platform()
|
||||
if system == 'Linux' or system == 'BSD':
|
||||
self.setAttribute(QtCore.Qt.AA_X11InitThreads, True)
|
||||
QtWidgets.QApplication.__init__(self, sys.argv)
|
||||
self.installEventFilter(self)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue