Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
5fc28e31
Commit
5fc28e31
authored
Feb 20, 2015
by
Gavin Bises
Browse files
Disable spec notification toggle if notifications are off on dlg create
parent
1562c234
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/dlg_settings.cpp
View file @
5fc28e31
...
@@ -449,6 +449,7 @@ UserInterfaceSettingsPage::UserInterfaceSettingsPage()
...
@@ -449,6 +449,7 @@ UserInterfaceSettingsPage::UserInterfaceSettingsPage()
connect
(
&
notificationsEnabledCheckBox
,
SIGNAL
(
stateChanged
(
int
)),
this
,
SLOT
(
setSpecNotificationEnabled
(
int
)));
connect
(
&
notificationsEnabledCheckBox
,
SIGNAL
(
stateChanged
(
int
)),
this
,
SLOT
(
setSpecNotificationEnabled
(
int
)));
specNotificationsEnabledCheckBox
.
setChecked
(
settingsCache
->
getSpectatorNotificationsEnabled
());
specNotificationsEnabledCheckBox
.
setChecked
(
settingsCache
->
getSpectatorNotificationsEnabled
());
specNotificationsEnabledCheckBox
.
setEnabled
(
settingsCache
->
getNotificationsEnabled
());
connect
(
&
specNotificationsEnabledCheckBox
,
SIGNAL
(
stateChanged
(
int
)),
settingsCache
,
SLOT
(
setSpectatorNotificationsEnabled
(
int
)));
connect
(
&
specNotificationsEnabledCheckBox
,
SIGNAL
(
stateChanged
(
int
)),
settingsCache
,
SLOT
(
setSpectatorNotificationsEnabled
(
int
)));
doubleClickToPlayCheckBox
.
setChecked
(
settingsCache
->
getDoubleClickToPlay
());
doubleClickToPlayCheckBox
.
setChecked
(
settingsCache
->
getDoubleClickToPlay
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment