diff options
author | Alex <b0ris@b0ris-satellite.localdomain> | 2011-11-05 02:45:53 +0200 |
---|---|---|
committer | Alex <b0ris@b0ris-satellite.localdomain> | 2011-11-05 02:45:53 +0200 |
commit | 2f71a1e82c20f4322ea0fb2994da251de58b366f (patch) | |
tree | 3686abb1ed4f1c06613a49a15b563e08aef1bc64 /client/SslClient.h | |
parent | 6f9a82364b5480ac7b0056b3563776bacf605f62 (diff) |
Fix segfault in SslClient
Diffstat (limited to 'client/SslClient.h')
-rw-r--r-- | client/SslClient.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/SslClient.h b/client/SslClient.h index 3a00de5..030c335 100644 --- a/client/SslClient.h +++ b/client/SslClient.h @@ -4,12 +4,12 @@ #include <QAbstractSocket> #include <QObject> +#include <QSslSocket> #include "client.h" using std::string; class QByteArray; -class QSslSocket; class QSslError; class QString; @@ -97,7 +97,7 @@ private slots: void PeerVerifyError(const QSslError &error); void SslErrors(const QList<QSslError> &errors); private: - QSslSocket *sslSocket; + QSslSocket sslSocket; QString server; unsigned short port; }; |