Shutdown timer changes (#2084)

* change msg popup time from 10min to 30min

* countdown at half time

* simplify math

* move shutdown after checks
This commit is contained in:
Zach H 2016-07-15 14:02:40 -04:00 committed by GitHub
parent 3365e0461c
commit d82564d84c
2 changed files with 7 additions and 3 deletions

View file

@ -139,6 +139,7 @@ private:
QString shutdownReason;
int shutdownMinutes;
int nextShutdownMessageMinutes;
QTimer *shutdownTimer;
bool isFirstShutdownMessage, clientIdRequired, regServerOnly;