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
085eb0f2
Commit
085eb0f2
authored
May 22, 2015
by
Matt Lowe
Browse files
Increased server shutdown limit
Added a max of 999 mins for the server shutdown to the gui.
parent
544666a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/tab_admin.cpp
View file @
085eb0f2
...
@@ -24,6 +24,7 @@ ShutdownDialog::ShutdownDialog(QWidget *parent)
...
@@ -24,6 +24,7 @@ ShutdownDialog::ShutdownDialog(QWidget *parent)
minutesLabel
->
setBuddy
(
minutesEdit
);
minutesLabel
->
setBuddy
(
minutesEdit
);
minutesEdit
->
setMinimum
(
0
);
minutesEdit
->
setMinimum
(
0
);
minutesEdit
->
setValue
(
5
);
minutesEdit
->
setValue
(
5
);
minutesEdit
->
setMaximum
(
999
);
QDialogButtonBox
*
buttonBox
=
new
QDialogButtonBox
(
QDialogButtonBox
::
Ok
|
QDialogButtonBox
::
Cancel
);
QDialogButtonBox
*
buttonBox
=
new
QDialogButtonBox
(
QDialogButtonBox
::
Ok
|
QDialogButtonBox
::
Cancel
);
connect
(
buttonBox
,
SIGNAL
(
accepted
()),
this
,
SLOT
(
accept
()));
connect
(
buttonBox
,
SIGNAL
(
accepted
()),
this
,
SLOT
(
accept
()));
...
...
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