enable qt dpi scaling

This commit is contained in:
Daniel 2020-12-31 20:23:58 +13:00
parent 303b3ded15
commit c8c2c41641

View File

@ -339,6 +339,7 @@ def main():
# Initialise the resources
qInitResources()
# Now create and actually run the application.
QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling)
application = QtWidgets.QApplication(qt_args)
application.setOrganizationName('OpenLP')
application.setOrganizationDomain('openlp.org')