mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 00:54:53 -07:00
Fix merge & relative path for portable build
This commit is contained in:
commit
4125d690fa
33 changed files with 1556 additions and 581 deletions
|
|
@ -115,6 +115,8 @@ private:
|
|||
bool spectatorsCanSeeEverything;
|
||||
int keepalive;
|
||||
void translateLegacySettings();
|
||||
bool rememberGameSettings;
|
||||
|
||||
public:
|
||||
SettingsCache();
|
||||
QString getSettingsPath();
|
||||
|
|
@ -187,6 +189,7 @@ public:
|
|||
bool getSpectatorsNeedPassword() const { return spectatorsNeedPassword; }
|
||||
bool getSpectatorsCanTalk() const { return spectatorsCanTalk; }
|
||||
bool getSpectatorsCanSeeEverything() const { return spectatorsCanSeeEverything; }
|
||||
bool getRememberGameSettings() const { return rememberGameSettings; }
|
||||
int getKeepAlive() const { return keepalive; }
|
||||
void setClientID(QString clientID);
|
||||
QString getClientID() { return clientID; }
|
||||
|
|
@ -260,6 +263,7 @@ public slots:
|
|||
void setSpectatorsNeedPassword(const bool _spectatorsNeedPassword);
|
||||
void setSpectatorsCanTalk(const bool _spectatorsCanTalk);
|
||||
void setSpectatorsCanSeeEverything(const bool _spectatorsCanSeeEverything);
|
||||
void setRememberGameSettings(const bool _rememberGameSettings);
|
||||
};
|
||||
|
||||
extern SettingsCache *settingsCache;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue