2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-10-09 13:56:19 +00:00

Add an option to use Qt scale engine (#158)

This commit is contained in:
ilya-fedin
2021-04-01 21:31:06 +00:00
committed by GitHub
parent 93c6a05f60
commit 2a92568954
11 changed files with 57 additions and 7 deletions

View File

@@ -206,7 +206,10 @@ void Application::run() {
startLocalStorage();
Lang::GetInstance().fillDefaultJson();
Lang::GetInstance().fillFromJson();
ValidateScale();
if (!cQtScale()) {
ValidateScale();
}
if (Local::oldSettingsVersion() < AppVersion) {
psNewVersion();