forked from openlp/openlp
Fix bug #1645867 by setting an application attribute related to OpenGL
Fixes: https://launchpad.net/bugs/1645867
This commit is contained in:
parent
04fe94e533
commit
41593f73ff
@ -342,6 +342,7 @@ def main(args=None):
|
|||||||
application.setOrganizationName('OpenLP')
|
application.setOrganizationName('OpenLP')
|
||||||
application.setOrganizationDomain('openlp.org')
|
application.setOrganizationDomain('openlp.org')
|
||||||
application.setAttribute(QtCore.Qt.AA_UseHighDpiPixmaps, True)
|
application.setAttribute(QtCore.Qt.AA_UseHighDpiPixmaps, True)
|
||||||
|
application.setAttribute(QtCore.Qt.AA_DontCreateNativeWidgetSiblings, True)
|
||||||
if args and args.portable:
|
if args and args.portable:
|
||||||
application.setApplicationName('OpenLPPortable')
|
application.setApplicationName('OpenLPPortable')
|
||||||
Settings.setDefaultFormat(Settings.IniFormat)
|
Settings.setDefaultFormat(Settings.IniFormat)
|
||||||
|
Loading…
Reference in New Issue
Block a user