mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Moved "Ignore messages from unregistered users"
Relocated to the chat settings tab.
This commit is contained in:
parent
6dfaa81a53
commit
b9c537bf47
6 changed files with 11 additions and 23 deletions
|
|
@ -293,11 +293,10 @@ void SettingsCache::setPriceTagSource(int _priceTagSource)
|
|||
settings->setValue("deckeditor/pricetagsource", priceTagSource);
|
||||
}
|
||||
|
||||
void SettingsCache::setIgnoreUnregisteredUsers(bool _ignoreUnregisteredUsers)
|
||||
void SettingsCache::setIgnoreUnregisteredUsers(int _ignoreUnregisteredUsers)
|
||||
{
|
||||
ignoreUnregisteredUsers = _ignoreUnregisteredUsers;
|
||||
settings->setValue("chat/ignore_unregistered", ignoreUnregisteredUsers);
|
||||
emit ignoreUnregisteredUsersChanged();
|
||||
}
|
||||
|
||||
void SettingsCache::setMainWindowGeometry(const QByteArray &_mainWindowGeometry)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue