mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-11 07:40:26 -04:00
Second attempt at patches for an OpenBSD port, this time based off of 1.2
and after feedback from the upstream and other contributors at https://github.com/micahflee/onionshare/pull/489
This commit is contained in:
parent
29ad669e54
commit
ae494c8e33
5 changed files with 25 additions and 18 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