summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/client.pro3
-rw-r--r--client/praxisd.cc6
2 files changed, 3 insertions, 6 deletions
diff --git a/client/client.pro b/client/client.pro
index 831b570..46f4ae3 100644
--- a/client/client.pro
+++ b/client/client.pro
@@ -16,8 +16,7 @@ debug {
DEFINES+=USE_DEBUG
}
-include(../VERSION)
-DEFINES+=VERSION=\\\"$$VERSION\\\"
+DEFINES+=VERSION=\\\"2.2.1\\\"
win32 {
QMAKE_LIBDIR += lua/lib
diff --git a/client/praxisd.cc b/client/praxisd.cc
index 001eb90..161b471 100644
--- a/client/praxisd.cc
+++ b/client/praxisd.cc
@@ -104,18 +104,16 @@ static Patient getPatient(QByteArray data)
DOPATIENT(frilinie5);
if(element.tagName() == "sogeords") {
- sogeord_t sogeord;
-
QDomNodeList nodes = element.childNodes();
for(int j = 0; j < nodes.count(); j++) {
+ sogeord_t sogeord;
QDomNode node = nodes.at(j);
QDomElement element = node.toElement();
sogeord.sogenr = element.attribute("sogenr");
sogeord.sogedato = element.attribute("sogedato");
sogeord.sogetxt = element.text();
+ patient.sogeord.push_back(sogeord);
}
-
- patient.sogeord.push_back(sogeord);
}
DOPATIENT(ydernr);