Merge branch 'develop' into mig5-info_widgets_download_info

This commit is contained in:
Micah Lee 2018-02-19 18:02:51 -08:00
commit eacb4c9fb0
8 changed files with 36 additions and 22 deletions

View file

@ -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)