mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 00:54:53 -07:00
fixed #45: Terminate servatrice if critical error in e.g. listen() happens during initialization
This commit is contained in:
parent
875610e1b3
commit
7c8b3fc5e3
3 changed files with 28 additions and 19 deletions
|
|
@ -88,6 +88,7 @@ public:
|
|||
mutable QMutex dbMutex;
|
||||
Servatrice(QSettings *_settings, QObject *parent = 0);
|
||||
~Servatrice();
|
||||
bool initServer();
|
||||
bool openDatabase();
|
||||
bool checkSql();
|
||||
bool execSqlQuery(QSqlQuery &query);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue