forked from openlp/openlp
enable qt dpi scaling
This commit is contained in:
parent
303b3ded15
commit
c8c2c41641
@ -339,6 +339,7 @@ def main():
|
|||||||
# Initialise the resources
|
# Initialise the resources
|
||||||
qInitResources()
|
qInitResources()
|
||||||
# Now create and actually run the application.
|
# Now create and actually run the application.
|
||||||
|
QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling)
|
||||||
application = QtWidgets.QApplication(qt_args)
|
application = QtWidgets.QApplication(qt_args)
|
||||||
application.setOrganizationName('OpenLP')
|
application.setOrganizationName('OpenLP')
|
||||||
application.setOrganizationDomain('openlp.org')
|
application.setOrganizationDomain('openlp.org')
|
||||||
|
Loading…
Reference in New Issue
Block a user