summaryrefslogtreecommitdiff
path: root/client/netcom.cc
diff options
context:
space:
mode:
authordeva <deva>2008-08-19 07:50:47 +0000
committerdeva <deva>2008-08-19 07:50:47 +0000
commit26a6b739a38e928d005ac689e693a4d4dd7dc3ea (patch)
treec9f60b66fc795cf67baaac95ebb9eac03494f677 /client/netcom.cc
parent6a2cc91b62f227ca71d759654ed34c138d236800 (diff)
Made the netcom object global, for socket reuse.
Diffstat (limited to 'client/netcom.cc')
-rw-r--r--client/netcom.cc2
1 files changed, 2 insertions, 0 deletions
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 <QApplication>
+NetCom *Global::netcom = NULL;
+
NetCom::NetCom(QString host, quint16 port, QString user, QString cpr)
{
this->user = user;