diff options
author | deva <deva> | 2008-08-19 07:50:47 +0000 |
---|---|---|
committer | deva <deva> | 2008-08-19 07:50:47 +0000 |
commit | 26a6b739a38e928d005ac689e693a4d4dd7dc3ea (patch) | |
tree | c9f60b66fc795cf67baaac95ebb9eac03494f677 /client/netcom.cc | |
parent | 6a2cc91b62f227ca71d759654ed34c138d236800 (diff) |
Made the netcom object global, for socket reuse.
Diffstat (limited to 'client/netcom.cc')
-rw-r--r-- | client/netcom.cc | 2 |
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; |