Fix bug #1645867 by setting an application attribute related to OpenGL

Fixes: https://launchpad.net/bugs/1645867
This commit is contained in:
Raoul Snyman 2016-11-30 00:12:46 +02:00
parent 04fe94e533
commit 41593f73ff

View File

@ -342,6 +342,7 @@ def main(args=None):
application.setOrganizationName('OpenLP')
application.setOrganizationDomain('openlp.org')
application.setAttribute(QtCore.Qt.AA_UseHighDpiPixmaps, True)
application.setAttribute(QtCore.Qt.AA_DontCreateNativeWidgetSiblings, True)
if args and args.portable:
application.setApplicationName('OpenLPPortable')
Settings.setDefaultFormat(Settings.IniFormat)