mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-15 03:28:49 -07:00
Add setting to auto close card view when empty (#5502)
This commit is contained in:
parent
aeb1b9fb4f
commit
97fdf11c8f
7 changed files with 34 additions and 2 deletions
|
|
@ -159,6 +159,7 @@ private:
|
|||
QString knownMissingFeatures;
|
||||
bool useTearOffMenus;
|
||||
int cardViewInitialRowsMax;
|
||||
bool closeEmptyCardView;
|
||||
int pixmapCacheSize;
|
||||
int networkCacheSize;
|
||||
int redirectCacheTtl;
|
||||
|
|
@ -619,6 +620,7 @@ public:
|
|||
void setKnownMissingFeatures(const QString &_knownMissingFeatures);
|
||||
void setUseTearOffMenus(bool _useTearOffMenus);
|
||||
void setCardViewInitialRowsMax(int _cardViewInitialRowsMax);
|
||||
void setCloseEmptyCardView(QT_STATE_CHANGED_T value);
|
||||
QString getClientID()
|
||||
{
|
||||
return clientID;
|
||||
|
|
@ -639,6 +641,10 @@ public:
|
|||
{
|
||||
return cardViewInitialRowsMax;
|
||||
}
|
||||
bool getCloseEmptyCardView() const
|
||||
{
|
||||
return closeEmptyCardView;
|
||||
}
|
||||
ShortcutsSettings &shortcuts() const
|
||||
{
|
||||
return *shortcutsSettings;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue