summaryrefslogtreecommitdiff
path: root/client/widgets/widget.h
diff options
context:
space:
mode:
authordeva <deva>2010-08-18 14:09:16 +0000
committerdeva <deva>2010-08-18 14:09:16 +0000
commit91970dbba11c663f9d6d5b40b8c563dc05b332b9 (patch)
tree078eea0d5559c0a332162e11cc696576792d8122 /client/widgets/widget.h
parentabe143670b174e2604c97224df14732bf059f151 (diff)
Do not enable all children recursively. Make eventOnChange recursive on-demand.
Diffstat (limited to 'client/widgets/widget.h')
-rw-r--r--client/widgets/widget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/widgets/widget.h b/client/widgets/widget.h
index d172543..99b9479 100644
--- a/client/widgets/widget.h
+++ b/client/widgets/widget.h
@@ -88,7 +88,7 @@ protected:
/*
* LUA scripting events:
*/
- void eventOnChange();
+ void eventOnChange(bool deep = false);
QWidget *widget;
bool hideChildren;
@@ -98,8 +98,8 @@ protected:
LUA *lua;
private:
- QVector< Widget* > children;
void createWidget(QDomNode &xml_node, QLayout *layout);
+ QVector< Widget* > children;
// Store value in constructor to be set later.
bool has_lazy;