diff options
| author | Crystalwarrior <Varsash@Gmail.com> | 2022-05-23 21:45:16 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-23 20:45:16 +0200 |
| commit | 704c279f481e01e4b4e6a774c72fe8cee72ccd0f (patch) | |
| tree | 9bc6f67294445e44be9fdee381b621ff52e72927 /src | |
| parent | 35004921d35620fa81aeb59930020a2d7d2865d4 (diff) | |
Disable DPI scaling for good (#769)
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/main.cpp b/src/main.cpp index 6edefa49..e8ffe67e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -14,13 +14,6 @@ int main(int argc, char *argv[]) { qSetMessagePattern("%{type}: %{if-category}%{category}: %{endif}%{message}"); -#if QT_VERSION > QT_VERSION_CHECK(5, 6, 0) - // High-DPI support is for Qt version >=5.6. - // However, many Linux distros still haven't brought their stable/LTS - // packages up to Qt 5.6, so this is conditional. - AOApplication::setAttribute(Qt::AA_EnableHighDpiScaling); -#endif - AOApplication main_app(argc, argv); AOApplication::addLibraryPath(AOApplication::applicationDirPath() + "/lib"); |
