mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Add missing feature rememberance to client (#2275)
Fix #2249 Add the ability for the client to remember the missing features that it received from the server it last connected to and not display the "missing/optional feature" message at every login.
This commit is contained in:
parent
f6e4ee9a4a
commit
d039c9b6bd
5 changed files with 49 additions and 3 deletions
|
|
@ -249,6 +249,12 @@ SettingsCache::SettingsCache()
|
|||
spectatorsCanSeeEverything = settings->value("game/spectatorscanseeeverything", false).toBool();
|
||||
rememberGameSettings = settings->value("game/remembergamesettings", true).toBool();
|
||||
clientID = settings->value("personal/clientid", "notset").toString();
|
||||
knownMissingFeatures = settings->value("interface/knownmissingfeatures", "").toString();
|
||||
}
|
||||
|
||||
void SettingsCache::setKnownMissingFeatures(QString _knownMissingFeatures) {
|
||||
knownMissingFeatures = _knownMissingFeatures;
|
||||
settings->setValue("interface/knownmissingfeatures", knownMissingFeatures);
|
||||
}
|
||||
|
||||
void SettingsCache::setCardInfoViewMode(const int _viewMode) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue