mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 09:04:53 -07:00
Do not alert the application for game events when spectating.
Add a configuration toggle to enable alerts when spectating. Default behavior is to not alert.
This commit is contained in:
parent
06e5327595
commit
11bd2444d8
4 changed files with 26 additions and 10 deletions
|
|
@ -48,6 +48,7 @@ private:
|
|||
bool picDownload;
|
||||
bool picDownloadHq;
|
||||
bool notificationsEnabled;
|
||||
bool spectatorNotificationsEnabled;
|
||||
bool doubleClickToPlay;
|
||||
bool playToStack;
|
||||
int cardInfoMinimized;
|
||||
|
|
@ -91,6 +92,8 @@ public:
|
|||
bool getPicDownload() const { return picDownload; }
|
||||
bool getPicDownloadHq() const { return picDownloadHq; }
|
||||
bool getNotificationsEnabled() const { return notificationsEnabled; }
|
||||
bool getSpectatorNotificationsEnabled() const { return spectatorNotificationsEnabled; }
|
||||
|
||||
bool getDoubleClickToPlay() const { return doubleClickToPlay; }
|
||||
bool getPlayToStack() const { return playToStack; }
|
||||
int getCardInfoMinimized() const { return cardInfoMinimized; }
|
||||
|
|
@ -139,6 +142,7 @@ public slots:
|
|||
void setPicDownload(int _picDownload);
|
||||
void setPicDownloadHq(int _picDownloadHq);
|
||||
void setNotificationsEnabled(int _notificationsEnabled);
|
||||
void setSpectatorNotificationsEnabled(int _spectatorNotificationsEnabled);
|
||||
void setDoubleClickToPlay(int _doubleClickToPlay);
|
||||
void setPlayToStack(int _playToStack);
|
||||
void setCardInfoMinimized(int _cardInfoMinimized);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue