diff options
Diffstat (limited to 'client/widgets/metawidget.cc')
-rw-r--r-- | client/widgets/metawidget.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/widgets/metawidget.cc b/client/widgets/metawidget.cc index 9634c76..ff359f4 100644 --- a/client/widgets/metawidget.cc +++ b/client/widgets/metawidget.cc @@ -50,12 +50,15 @@ MetaWidget::MetaWidget(QDomNode &node, MacroWindow *macrowindow) QDomElement elem = node.toElement(); storechildren = elem.attribute("storechildren", "false") == "true"; + /* // Create children QDomNodeList children = node.childNodes(); for (int i=0; i<children.count();i++) { QDomNode child = children.at(i); widgetBuilder(child); } + */ + // addChildren(node); // Setup format string if(elem.hasAttribute("formatlanguage")) { @@ -76,7 +79,7 @@ MetaWidget::MetaWidget(QDomNode &node, MacroWindow *macrowindow) } } - addChildren(node); + addChildren(node, frame->layout()); // Connect all children wasChanged signal, to catch changes. QVector< Widget* >::iterator i = widgets.begin(); |