From fe81dbb0a0dfc9c3808df9576dfe9a8f0b7520be Mon Sep 17 00:00:00 2001 From: deva Date: Wed, 2 Jul 2008 09:42:38 +0000 Subject: Made all setValue calls in a second pass, to the construction of the widgets. --- client/widgets/checkbox.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/widgets/checkbox.cc') diff --git a/client/widgets/checkbox.cc b/client/widgets/checkbox.cc index 8474e58..95f5a53 100644 --- a/client/widgets/checkbox.cc +++ b/client/widgets/checkbox.cc @@ -47,11 +47,13 @@ CheckBox::CheckBox(QDomNode &node, MacroWindow *macrowindow) connect(this, SIGNAL(stateChanged(int)), this, SLOT(state_change())); + /* // This is done later if(elem.hasAttribute("value")) { setValue(elem.attribute("value")); } else { setValue("false"); } + */ } QString CheckBox::getValue() -- cgit v1.2.3