mirror of https://gitlab.com/openlp/openlp.git
enable qt dpi scaling
This commit is contained in:
parent
303b3ded15
commit
c8c2c41641
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue