OTHER: Rework the 'Quit server on close' option
Quit server on close is now implemented in a cleaner and easier understandable way. It also doesn't impact the application shutdown time any more.
This commit is contained in:
parent
5e8d83ca8e
commit
11b7e5e6e7
4 changed files with 30 additions and 32 deletions
|
@ -29,10 +29,6 @@ class Application : public QApplication
|
|||
Application (int &argc, char **argv);
|
||||
|
||||
public slots:
|
||||
void quit ();
|
||||
void cleanupHandler ();
|
||||
void handleDisconnected ();
|
||||
|
||||
|
||||
private:
|
||||
bool m_want_quit;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue