mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 19:43:55 -07:00
mutex fixes, server shutdown works again
This commit is contained in:
parent
d792c3ddc6
commit
671214c60e
9 changed files with 34 additions and 27 deletions
|
|
@ -82,6 +82,8 @@ class Servatrice : public Server
|
|||
private slots:
|
||||
void statusUpdate();
|
||||
void shutdownTimeout();
|
||||
public slots:
|
||||
void scheduleShutdown(const QString &reason, int minutes);
|
||||
public:
|
||||
mutable QMutex dbMutex;
|
||||
Servatrice(QSettings *_settings, QObject *parent = 0);
|
||||
|
|
@ -110,7 +112,6 @@ public:
|
|||
QMap<QString, ServerInfo_User> getIgnoreList(const QString &name);
|
||||
bool isInBuddyList(const QString &whoseList, const QString &who);
|
||||
bool isInIgnoreList(const QString &whoseList, const QString &who);
|
||||
void scheduleShutdown(const QString &reason, int minutes);
|
||||
void incTxBytes(quint64 num);
|
||||
void incRxBytes(quint64 num);
|
||||
int getUserIdInDB(const QString &name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue