summaryrefslogtreecommitdiffstats
path: root/src/network/socket/qlocalsocket_p.h
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-04-07 05:42:30 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-04-07 07:31:02 (GMT)
commite60d3622607cbf1b3583a205fc9e3e019a555b45 (patch)
tree14ff36efc834da413f20b2bf6b8963545d8ff9a6 /src/network/socket/qlocalsocket_p.h
parentd2b10ebfa77a78687389d08627ab0b14cf48fb21 (diff)
downloadQt-e60d3622607cbf1b3583a205fc9e3e019a555b45.zip
Qt-e60d3622607cbf1b3583a205fc9e3e019a555b45.tar.gz
Qt-e60d3622607cbf1b3583a205fc9e3e019a555b45.tar.bz2
QLocalSocket will disconnect 30 seconds after a successful delayed connect
When the connection is established, the socket notifier is deleted, but not the connection timer, so the opened connection will be closed after 30 seconds. Task-number: none Reviewed-by: Andreas Reviewed-by: Thiago
Diffstat (limited to 'src/network/socket/qlocalsocket_p.h')
-rw-r--r--src/network/socket/qlocalsocket_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/socket/qlocalsocket_p.h b/src/network/socket/qlocalsocket_p.h
index dd48d0a..781d3da 100644
--- a/src/network/socket/qlocalsocket_p.h
+++ b/src/network/socket/qlocalsocket_p.h
@@ -192,6 +192,7 @@ public:
void _q_error(QAbstractSocket::SocketError newError);
void _q_connectToSocket();
void _q_abortConnectionAttempt();
+ void cancelDelayedConnect();
QSocketNotifier *delayConnect;
QTimer *connectTimer;
int connectingSocket;