From 2f71a1e82c20f4322ea0fb2994da251de58b366f Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 5 Nov 2011 02:45:53 +0200 Subject: Fix segfault in SslClient --- client/SslClient.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/SslClient.h') 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 #include +#include #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 &errors); private: - QSslSocket *sslSocket; + QSslSocket sslSocket; QString server; unsigned short port; }; -- cgit v1.2.3