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:
woogerboy21 2016-11-29 15:50:00 -05:00 committed by GitHub
parent f6e4ee9a4a
commit d039c9b6bd
5 changed files with 49 additions and 3 deletions

View file

@ -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) {