allow max font size to be defined by user (#2488)

This commit is contained in:
Zach H 2017-03-19 14:13:20 -04:00 committed by GitHub
parent 1cc50b2793
commit a2a7561613
5 changed files with 25 additions and 4 deletions

View file

@ -658,3 +658,9 @@ void SettingsCache::setUpdateReleaseChannel(int _updateReleaseChannel)
updateReleaseChannel = _updateReleaseChannel;
settings->setValue("personal/updatereleasechannel", updateReleaseChannel);
}
void SettingsCache::setMaxFontSize(int _max)
{
maxFontSize = _max;
settings->setValue("game/maxfontsize", maxFontSize);
}