diff options
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | src/main.cpp | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 37b4793b..1d8aac84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ ### Improvements - Update Polish translation (#430) +- Enable Qt auto scaling. (#397) - Enable colors in the console logger. ### Bug fixes @@ -14,6 +15,7 @@ - Fixed issue with downloading media that don't have a generated thumbnail. - macOS: Add missing border on the top bar. - Fallback to the login screen when the one-time keys cannot be uploaded. +- Show the sidebar after initial sync. (#412) ## [0.5.5] - 2018-09-01 diff --git a/src/main.cpp b/src/main.cpp index b71aa627..77e62381 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -109,6 +109,9 @@ main(int argc, char *argv[]) if (factor != -1) qputenv("QT_SCALE_FACTOR", QString::number(factor).toUtf8()); + + if (factor == -1 || factor == 1) + qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "1"); } #endif |