summary refs log tree commit diff
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-09-08 17:10:42 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-09-08 17:10:42 +0300
commit72333aec59b5e85c3194277fa29d5123a4b40694 (patch)
treeed907f09e146cb08a97573ec840aa678850b513b
parentShow sidebar after initial sync (diff)
downloadnheko-72333aec59b5e85c3194277fa29d5123a4b40694.tar.xz
Enable Qt auto scaling
fixes #397
-rw-r--r--CHANGELOG.md2
-rw-r--r--src/main.cpp3
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