mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-22 10:22:15 -07:00
add new setting to SettingsCache
This commit is contained in:
parent
b2ad2acff3
commit
c4287eea45
4 changed files with 19 additions and 0 deletions
|
|
@ -123,6 +123,7 @@ private:
|
|||
QString clientVersion;
|
||||
QString knownMissingFeatures;
|
||||
bool useTearOffMenus;
|
||||
int cardViewInitialHeight;
|
||||
int pixmapCacheSize;
|
||||
int networkCacheSize;
|
||||
int redirectCacheTtl;
|
||||
|
|
@ -485,6 +486,7 @@ public:
|
|||
void setClientVersion(const QString &clientVersion);
|
||||
void setKnownMissingFeatures(const QString &_knownMissingFeatures);
|
||||
void setUseTearOffMenus(bool _useTearOffMenus);
|
||||
void setCardViewInitialHeight(int _cardViewInitialHeight);
|
||||
QString getClientID()
|
||||
{
|
||||
return clientID;
|
||||
|
|
@ -501,6 +503,10 @@ public:
|
|||
{
|
||||
return useTearOffMenus;
|
||||
}
|
||||
int getCardViewInitialHeight()
|
||||
{
|
||||
return cardViewInitialHeight;
|
||||
}
|
||||
ShortcutsSettings &shortcuts() const
|
||||
{
|
||||
return *shortcutsSettings;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue