Remove additional minute
This commit is contained in:
parent
d82564d84c
commit
36e62df67d
1 changed files with 1 additions and 1 deletions
|
@ -598,7 +598,7 @@ void Servatrice::statusUpdate()
|
||||||
void Servatrice::scheduleShutdown(const QString &reason, int minutes)
|
void Servatrice::scheduleShutdown(const QString &reason, int minutes)
|
||||||
{
|
{
|
||||||
shutdownReason = reason;
|
shutdownReason = reason;
|
||||||
shutdownMinutes = minutes + 1;
|
shutdownMinutes = minutes;
|
||||||
nextShutdownMessageMinutes = shutdownMinutes;
|
nextShutdownMessageMinutes = shutdownMinutes;
|
||||||
if (minutes > 0) {
|
if (minutes > 0) {
|
||||||
shutdownTimer = new QTimer;
|
shutdownTimer = new QTimer;
|
||||||
|
|
Loading…
Reference in a new issue