From 5d1efcc49ba47eaf5919923f6f6ba82566d9baaf Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 29 May 2008 09:35:32 +0000 Subject: Rewrote the argument parser, for a more "The QT-Way"-like method. --- client/builder.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'client/builder.cc') 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(); -- cgit v1.2.3