summaryrefslogtreecommitdiff
path: root/client/builder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/builder.cc')
-rw-r--r--client/builder.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/builder.cc b/client/builder.cc
index af44fd8..426102b 100644
--- a/client/builder.cc
+++ b/client/builder.cc
@@ -171,7 +171,10 @@ void Builder::commit()
SendRecieve macro_commit;
macro_commit.makeConnection(&xml_result);
// Recieve answer from server whether successful or not
- QByteArray ba = macro_commit.getResult();
+ //QByteArray ba = macro_commit.getResult();
+ QString ba = macro_commit.getResult();
+ printf("Server returned result: %s", ba.toStdString().c_str());
+ exit(1); // Probably bad exit. Implemented for test version.
} else {
QMessageBox::critical(NULL, "Fejl",
"Makroen er ikke udfyldt korrekt, prøv igen.\n"
@@ -191,6 +194,7 @@ int ret = QMessageBox::warning(NULL, "Reset",
void Builder::cancel()
{
printf("Builder -> cancelling...\n");
+ exit(1); // Probably bad exit. Implemented for test version.
}
void Builder::cont(QString name)