From 26a6b739a38e928d005ac689e693a4d4dd7dc3ea Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 19 Aug 2008 07:50:47 +0000 Subject: Made the netcom object global, for socket reuse. --- client/netcom.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/netcom.cc') diff --git a/client/netcom.cc b/client/netcom.cc index cbe44d1..0f73e60 100644 --- a/client/netcom.cc +++ b/client/netcom.cc @@ -28,6 +28,8 @@ #include +NetCom *Global::netcom = NULL; + NetCom::NetCom(QString host, quint16 port, QString user, QString cpr) { this->user = user; -- cgit v1.2.3