diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-04-26 22:17:27 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-04-26 22:17:27 +0200 |
commit | edc25dab17776e5e1b748006a12abfed5b9478b7 (patch) | |
tree | 1e6b4524a50ca403986818adaa3d66367e5add50 /application | |
parent | 6dc1bc65e1bf4cca5390173a167d6d5115ac9688 (diff) | |
download | MultiMC-edc25dab17776e5e1b748006a12abfed5b9478b7.tar MultiMC-edc25dab17776e5e1b748006a12abfed5b9478b7.tar.gz MultiMC-edc25dab17776e5e1b748006a12abfed5b9478b7.tar.lz MultiMC-edc25dab17776e5e1b748006a12abfed5b9478b7.tar.xz MultiMC-edc25dab17776e5e1b748006a12abfed5b9478b7.zip |
NOISSUE Set AA_EnableHighDpiScaling for Qt >= 5.6.0
Diffstat (limited to 'application')
-rw-r--r-- | application/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/application/main.cpp b/application/main.cpp index 0f258926..48983dd6 100644 --- a/application/main.cpp +++ b/application/main.cpp @@ -28,6 +28,10 @@ int main(int argc, char *argv[]) return 42; #endif +#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)) + QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); +#endif + // initialize Qt MultiMC app(argc, argv); |