summaryrefslogtreecommitdiff
path: root/client/builder.cc
diff options
context:
space:
mode:
authordeva <deva>2008-05-29 09:35:32 +0000
committerdeva <deva>2008-05-29 09:35:32 +0000
commit5d1efcc49ba47eaf5919923f6f6ba82566d9baaf (patch)
treeba07a263240a197aa0dceb53e9affaae1b0f1009 /client/builder.cc
parent9252ebd85447a3133701263b148adf77e325ecc0 (diff)
Rewrote the argument parser, for a more "The QT-Way"-like method.
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();