mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-01 02:53:56 -07:00
Updated server shutdown timer logic
Will follow the following rules + send a message initially + send a message every 20 mins + send a message every min when time <= 5 Updated client popup Updated client to close any previous popups and bring up a new one. NEEDS TO BE TESTED added missing include Added delete on close
This commit is contained in:
parent
82d8c72427
commit
e646122f55
4 changed files with 34 additions and 21 deletions
|
|
@ -31,6 +31,7 @@ class LocalClient;
|
|||
class LocalServer;
|
||||
class ServerInfo_User;
|
||||
class QThread;
|
||||
class QMessageBox;
|
||||
|
||||
class MainWindow : public QMainWindow {
|
||||
Q_OBJECT
|
||||
|
|
@ -86,6 +87,8 @@ private:
|
|||
|
||||
LocalServer *localServer;
|
||||
bool bHasActivated;
|
||||
|
||||
QMessageBox *serverShutdownMessageBox;
|
||||
public:
|
||||
MainWindow(QWidget *parent = 0);
|
||||
~MainWindow();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue