Merge pull request #2097 from ctrlaltca/fix_shutdown
Remove additional minute in server shutdown
This commit is contained in:
commit
b28b174056
1 changed files with 1 additions and 1 deletions
|
@ -598,7 +598,7 @@ void Servatrice::statusUpdate()
|
|||
void Servatrice::scheduleShutdown(const QString &reason, int minutes)
|
||||
{
|
||||
shutdownReason = reason;
|
||||
shutdownMinutes = minutes + 1;
|
||||
shutdownMinutes = minutes;
|
||||
nextShutdownMessageMinutes = shutdownMinutes;
|
||||
if (minutes > 0) {
|
||||
shutdownTimer = new QTimer;
|
||||
|
|
Loading…
Reference in a new issue