mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-15 06:52:15 -07:00
add in-game time as checkbox in settings
This commit is contained in:
parent
71fff5dbd0
commit
a9d3e73c15
5 changed files with 26 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue