summaryrefslogtreecommitdiff
path: root/client/builder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/builder.cc')
-rw-r--r--client/builder.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/builder.cc b/client/builder.cc
index 63cdcb9..f8addeb 100644
--- a/client/builder.cc
+++ b/client/builder.cc
@@ -23,6 +23,8 @@
extern QString cpr;
extern QString user;
+extern QString host;
+extern quint16 port;
Builder::Builder(QDomDocument *xml_doc)
: QObject()
@@ -166,7 +168,7 @@ bool Builder::doCommit()
}
// Commit the xml data to the server
- SendRecieve macro_commit;
+ SendRecieve macro_commit(host, port);
macro_commit.makeConnection(&xml_result);
// Recieve answer from server whether successful or not
//QByteArray ba = macro_commit.getResult();