diff options
Diffstat (limited to 'client/macro.cc')
-rw-r--r-- | client/macro.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/macro.cc b/client/macro.cc index d06e4c0..7f8ea27 100644 --- a/client/macro.cc +++ b/client/macro.cc @@ -34,6 +34,8 @@ extern QString cpr; extern QString user; +extern QString host; +extern quint16 port; class MyEvent : public QEvent { public: @@ -52,7 +54,7 @@ void create_macro(QString name) QDomDocument xml_req = xml_request(name); // Fetch the XML document - SendRecieve xml_acquire; + SendRecieve xml_acquire(host, port); xml_acquire.makeConnection(&xml_req); QByteArray ba = xml_acquire.getResult(); |