mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-25 16:13:54 -07:00
Increased server shutdown limit
Added a max of 999 mins for the server shutdown to the gui.
This commit is contained in:
parent
544666a3bc
commit
085eb0f2fa
1 changed files with 1 additions and 0 deletions
|
|
@ -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()));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue