summaryrefslogtreecommitdiff
path: root/src/websockets/qwebsocket_p.h
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2014-01-17 11:04:41 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-17 13:47:08 +0100
commit0e9731659f5a9d865889dd766959b7eeae16e5a5 (patch)
tree4d3a8df7a587d3fa84a738694766cb453e245b55 /src/websockets/qwebsocket_p.h
parentea7c77e87f317cd72278ba4f9955b74b9cdfeedf (diff)
downloadqtwebsockets-0e9731659f5a9d865889dd766959b7eeae16e5a5.tar.gz
Make sure that the random generator is initialized in all code paths
Change-Id: Ice4826e7670cffa791250a95387ac1121ddc4089 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'src/websockets/qwebsocket_p.h')
-rw-r--r--src/websockets/qwebsocket_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/websockets/qwebsocket_p.h b/src/websockets/qwebsocket_p.h
index 68317ea..2786727 100644
--- a/src/websockets/qwebsocket_p.h
+++ b/src/websockets/qwebsocket_p.h
@@ -107,6 +107,7 @@ public:
QObject *parent = Q_NULLPTR);
virtual ~QWebSocketPrivate();
+ void init();
void abort();
QAbstractSocket::SocketError error() const;
QString errorString() const;