2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +00:00

Added '-scale' command-line argument for custom scale.

- Fixed #5272.
 - Fixed #5365.
 - Fixed #6055.
This commit is contained in:
23rd
2019-05-25 13:06:12 +03:00
committed by John Preston
parent 5f97b3bc22
commit 47910b2ae1
3 changed files with 27 additions and 5 deletions

View File

@@ -1521,7 +1521,10 @@ bool _readSetting(quint32 blockId, QDataStream &stream, int version, ReadSetting
stream >> v;
if (!_checkStreamStatus(stream)) return false;
SetScaleChecked(v);
// If cConfigScale() has value then it was set via command line.
if (cConfigScale() == kInterfaceScaleAuto) {
SetScaleChecked(v);
}
} break;
case dbiLangOld: {