Commit 0c3ff0e6 authored by Martin Straka's avatar Martin Straka

Minor refactoring

parent 88f44130
......@@ -43,6 +43,8 @@ Item {
/* This property defines mandate textinput width. */
property int mandateFieldLenght : defaultTextFont.font.pointSize * 4
/* This property holds message type for sending. */
property string dmType: ""
/* Return file name from file path */
......
......@@ -1330,7 +1330,7 @@ MsgEnvelope XmlLayer::msgEnvelopeParse(QXmlStreamReader &xml,
&& xml.name() == "dmRecord")) {
if (xml.tokenType() == QXmlStreamReader::StartElement) {
if (xml.name() == "dmOrdinal") {
xml.readNext();;
xml.readNext();
}
if (xml.name() == "dmID") {
xml.readNext();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment