diff options
author | deva <deva> | 2010-08-13 08:24:46 +0000 |
---|---|---|
committer | deva <deva> | 2010-08-13 08:24:46 +0000 |
commit | db2fdbe872cc6c1b224a1c4c735fac4369b3802e (patch) | |
tree | cb85d03da44b457c97c2595f8550d91ea7bb6a6d /client/widgets/metawidget.cc | |
parent | bc229dbfabdf6a59453605e7652f04a268605b3a (diff) |
Add missing children widgets to actual layouts.
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(); |