diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/net/serverconnection.cpp | 1 | ||||
-rw-r--r-- | src/client/util/platform/blankscreen.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/client/net/serverconnection.cpp b/src/client/net/serverconnection.cpp index 46f2538..826cf06 100644 --- a/src/client/net/serverconnection.cpp +++ b/src/client/net/serverconnection.cpp @@ -44,6 +44,7 @@ ServerConnection::ServerConnection(const QString& host, const quint16 port, cons ServerConnection::~ServerConnection() { + this->disconnectFromServer(); if (_socket != NULL) { qCritical("**** SOCKET DELETE IN DESTRUCTOR"); _socket->deleteLater(); diff --git a/src/client/util/platform/blankscreen.h b/src/client/util/platform/blankscreen.h index 35cf297..24c4969 100644 --- a/src/client/util/platform/blankscreen.h +++ b/src/client/util/platform/blankscreen.h @@ -5,7 +5,7 @@ #include <QDialog> #include <QDebug> -class BlankScreen_Sysdep; +struct BlankScreen_Sysdep; class BlankScreen : public QDialog { |