diff options
Diffstat (limited to 'client/widgets/widget.cc')
-rw-r--r-- | client/widgets/widget.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/client/widgets/widget.cc b/client/widgets/widget.cc index 910d80b..7b62f36 100644 --- a/client/widgets/widget.cc +++ b/client/widgets/widget.cc @@ -26,12 +26,16 @@ */ #include "widget.h" +//Widget::Widget(QString parent_name, QDomNode node) Widget::Widget(QDomNode node) { QDomElement elem = node.toElement(); if(elem.hasAttribute("name")) { - widget_name = elem.attribute("name"); + //if(parent_name != "") + // widget_name = parent_name + "." + elem.attribute("name"); + //else + widget_name = elem.attribute("name"); } else { printf("XML ERROR!! Unnamed widget of type: %s\n", elem.tagName().toStdString().c_str()); |