add in-game time as checkbox in settings

This commit is contained in:
Lily 2025-03-11 22:00:04 -04:00
parent 71fff5dbd0
commit a9d3e73c15
No known key found for this signature in database
GPG key ID: D916CEDDF4F93CE7
5 changed files with 26 additions and 1 deletions

View file

@ -420,6 +420,12 @@ void SettingsCache::setRoomHistory(const QT_STATE_CHANGED_T _roomHistory)
settings->setValue("chat/roomhistory", roomHistory);
}
void SettingsCache::setLocalTime(const QT_STATE_CHANGED_T _showMessagePopups)
{
localTime = (bool)_showMessagePopups;
settings->setValue("chat/localtime", localTime);
}
void SettingsCache::setLang(const QString &_lang)
{
lang = _lang;