diff options
Diffstat (limited to 'client/widgetbuilder.cc')
-rw-r--r-- | client/widgetbuilder.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/widgetbuilder.cc b/client/widgetbuilder.cc index e6dd954..99294f6 100644 --- a/client/widgetbuilder.cc +++ b/client/widgetbuilder.cc @@ -88,6 +88,11 @@ QVector< Widget* > widgetBuilder(QDomNode xml_node, QWidget *parent, MacroWindow widget = combobox; //return; // Don't iterate children + } else if(xml_elem.tagName() == "dbwidget") { + DBWidget *dbwidget = new DBWidget(xml_elem, macrowindow); + widgets.push_back(dbwidget); + widget = dbwidget; + } else if(xml_elem.tagName() == "listbox") { ListBox *listbox = new ListBox(xml_elem, macrowindow); widgets.push_back(listbox); |