From db2fdbe872cc6c1b224a1c4c735fac4369b3802e Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 13 Aug 2010 08:24:46 +0000 Subject: Add missing children widgets to actual layouts. --- client/widgets/widget.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'client/widgets/widget.h') diff --git a/client/widgets/widget.h b/client/widgets/widget.h index 9e493d0..960dca9 100644 --- a/client/widgets/widget.h +++ b/client/widgets/widget.h @@ -35,6 +35,7 @@ #include "lua.h" +class QLayout; class MacroWindow; class LUA; class Widget; @@ -95,8 +96,8 @@ protected: QWidget *widget; bool hideChildren; - void widgetBuilder(QDomNode &xml_node); - void addChildren(QDomNode &xml_node); + void widgetBuilder(QDomNode &xml_node, QLayout *layout); + void addChildren(QDomNode &xml_node, QLayout *layout); private: QVector< Widget* > children; -- cgit v1.2.3