diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2016-01-27 10:43:31 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2016-01-27 12:04:11 +0000 |
commit | a6a665bdb147d0a0fbfcd65053718a54e1d9815b (patch) | |
tree | 025572d12a428688c7c81aac49af76e994c8f2de | |
parent | fa4bd6f3aae782aa810033688ee4f45aa9db1546 (diff) |
Qt Assistant: Set Qt::AA_EnableHighDpiScaling.
Enable automatic scaling for the documentation on High DPI screens.
Task-number: QTBUG-50698
Change-Id: I155ff2309efa518aad5ca618a9abeac96ea57d4f
Reviewed-by: Topi Reiniƶ <topi.reinio@theqtcompany.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-rw-r--r-- | src/assistant/assistant/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/assistant/assistant/main.cpp b/src/assistant/assistant/main.cpp index 8ae25fc9a..4d097aaf1 100644 --- a/src/assistant/assistant/main.cpp +++ b/src/assistant/assistant/main.cpp @@ -293,6 +293,7 @@ void setupTranslations() int main(int argc, char *argv[]) { + QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); TRACE_OBJ QScopedPointer<QCoreApplication> a(createApplication(argc, argv)); a->addLibraryPath(a->applicationDirPath() + QLatin1String("/plugins")); |