Enable Qt auto scaling

fixes #397
This commit is contained in:
Konstantinos Sideris 2018-09-08 17:10:42 +03:00
parent 667ee75d66
commit 72333aec59
2 changed files with 5 additions and 0 deletions

View file

@ -6,6 +6,7 @@
### Improvements ### Improvements
- Update Polish translation (#430) - Update Polish translation (#430)
- Enable Qt auto scaling. (#397)
- Enable colors in the console logger. - Enable colors in the console logger.
### Bug fixes ### Bug fixes
@ -14,6 +15,7 @@
- Fixed issue with downloading media that don't have a generated thumbnail. - Fixed issue with downloading media that don't have a generated thumbnail.
- macOS: Add missing border on the top bar. - macOS: Add missing border on the top bar.
- Fallback to the login screen when the one-time keys cannot be uploaded. - 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 ## [0.5.5] - 2018-09-01

View file

@ -109,6 +109,9 @@ main(int argc, char *argv[])
if (factor != -1) if (factor != -1)
qputenv("QT_SCALE_FACTOR", QString::number(factor).toUtf8()); qputenv("QT_SCALE_FACTOR", QString::number(factor).toUtf8());
if (factor == -1 || factor == 1)
qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "1");
} }
#endif #endif