mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-21 14:23:54 -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
|
|
@ -86,6 +86,7 @@ private:
|
|||
QString picUrl;
|
||||
QString picUrlFallback;
|
||||
QString clientID;
|
||||
QString knownMissingFeatures;
|
||||
int pixmapCacheSize;
|
||||
bool scaleCards;
|
||||
bool showMessagePopups;
|
||||
|
|
@ -181,7 +182,9 @@ public:
|
|||
bool getRememberGameSettings() const { return rememberGameSettings; }
|
||||
int getKeepAlive() const { return keepalive; }
|
||||
void setClientID(QString clientID);
|
||||
void setKnownMissingFeatures(QString _knownMissingFeatures);
|
||||
QString getClientID() { return clientID; }
|
||||
QString getKnownMissingFeatures() { return knownMissingFeatures; }
|
||||
ShortcutsSettings& shortcuts() const { return *shortcutsSettings; }
|
||||
CardDatabaseSettings& cardDatabase() const { return *cardDatabaseSettings; }
|
||||
ServersSettings& servers() const { return *serversSettings; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue