diff options
Diffstat (limited to 'client/netcom.cc')
-rw-r--r-- | client/netcom.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/netcom.cc b/client/netcom.cc index 97f9ee1..f569a6f 100644 --- a/client/netcom.cc +++ b/client/netcom.cc @@ -189,9 +189,9 @@ QDomDocument NetCom::send(QVector< Widget* > widgets, QString templ, while (i != widgets.end()) { Widget* w = *i; - if(!w->isDisabled() && w->getName() != "") { + if(!w->isDisabled() && w->name() != "") { QDomElement field_elem = doc.createElement("field"); - field_elem.setAttribute("name", w->getName()); + field_elem.setAttribute("name", w->name()); field_elem.setAttribute("value", w->getValue()); commit_elem.appendChild(field_elem); } |