mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-24 15:43:54 -07:00
Added setting to enable/disable notifications
When something happens, the taskbar icon lights up/the dock icon bounces. This can be annoying, so here is a setting to disable that.
This commit is contained in:
parent
f699cd4b0f
commit
b1af4237e7
5 changed files with 21 additions and 3 deletions
|
|
@ -33,6 +33,7 @@ private:
|
|||
QString deckPath, replaysPath, picsPath, cardDatabasePath, tokenDatabasePath;
|
||||
QString handBgPath, stackBgPath, tableBgPath, playerBgPath, cardBackPicturePath;
|
||||
bool picDownload;
|
||||
bool notificationsEnabled;
|
||||
bool doubleClickToPlay;
|
||||
bool playToStack;
|
||||
int cardInfoMinimized;
|
||||
|
|
@ -62,6 +63,7 @@ public:
|
|||
QString getPlayerBgPath() const { return playerBgPath; }
|
||||
QString getCardBackPicturePath() const { return cardBackPicturePath; }
|
||||
bool getPicDownload() const { return picDownload; }
|
||||
bool getNotificationsEnabled() const { return notificationsEnabled; }
|
||||
bool getDoubleClickToPlay() const { return doubleClickToPlay; }
|
||||
bool getPlayToStack() const { return playToStack; }
|
||||
int getCardInfoMinimized() const { return cardInfoMinimized; }
|
||||
|
|
@ -91,6 +93,7 @@ public slots:
|
|||
void setPlayerBgPath(const QString &_playerBgPath);
|
||||
void setCardBackPicturePath(const QString &_cardBackPicturePath);
|
||||
void setPicDownload(int _picDownload);
|
||||
void setNotificationsEnabled(int _notificationsEnabled);
|
||||
void setDoubleClickToPlay(int _doubleClickToPlay);
|
||||
void setPlayToStack(int _playToStack);
|
||||
void setCardInfoMinimized(int _cardInfoMinimized);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue