diff options
| -rw-r--r-- | client/builder.cc | 6 | ||||
| -rw-r--r-- | client/client.pro | 2 | 
2 files changed, 6 insertions, 2 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) diff --git a/client/client.pro b/client/client.pro index 2013cd0..8989180 100644 --- a/client/client.pro +++ b/client/client.pro @@ -3,7 +3,7 @@  ######################################################################  TEMPLATE = app -TARGET =  +TARGET = pracro  DEPENDPATH += . _old widgets  INCLUDEPATH += . _old widgets | 
