diff options
author | kh1 <karsten.heimrich@digia.com> | 2014-06-03 15:35:37 +0200 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@digia.com> | 2014-06-03 15:48:08 +0200 |
commit | e07968ebb99b7fe4e67c0470ec486a92816036d5 (patch) | |
tree | ad7e3bf5d95cae2ca57de0b745060f7276c72259 /src/libs/installer/remoteclient.h | |
parent | 22fb61b60c0686795f9671789ab3393da6c22987 (diff) |
We need to pass the socket to the connect function.
The keep alive thread does try to delete the socket it gets
from the connect method, but since the socket was created in
a different thread and we will hit the:
"Socket notifiers cannot be disabled from another thread" warning.
Change-Id: Ibafcd67f8cdb51b365c3ef230f1ebd447bdd306a
Reviewed-by: Niels Weber <niels.weber@digia.com>
Diffstat (limited to 'src/libs/installer/remoteclient.h')
-rw-r--r-- | src/libs/installer/remoteclient.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/installer/remoteclient.h b/src/libs/installer/remoteclient.h index ff92a3dda..1ef8eba0b 100644 --- a/src/libs/installer/remoteclient.h +++ b/src/libs/installer/remoteclient.h @@ -73,7 +73,7 @@ public: }; static RemoteClient &instance(); - QTcpSocket *connect() const; + bool connect(QTcpSocket *socket) const; void init(quint16 port, const QHostAddress &address, Mode mode); QString authorizationKey() const; |