forked from openlp/openlp
Merge branch 'enable_qt_dpi_scaling' into 'master'
Enable QT DPI scaling See merge request openlp/openlp!287
This commit is contained in:
commit
9194273341
@ -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