From c8c2c41641d5e0fe704fad0ad50897652eeb9ea1 Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 31 Dec 2020 20:23:58 +1300 Subject: [PATCH] enable qt dpi scaling --- openlp/core/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openlp/core/app.py b/openlp/core/app.py index e0df33ee1..9316a8c22 100644 --- a/openlp/core/app.py +++ b/openlp/core/app.py @@ -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')