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/listbox.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'client/widgets/listbox.cc') diff --git a/client/widgets/listbox.cc b/client/widgets/listbox.cc index 4af7952..a47812a 100644 --- a/client/widgets/listbox.cc +++ b/client/widgets/listbox.cc @@ -87,10 +87,12 @@ ListBox::ListBox(QDomNode &node, MacroWindow *macrowindow) QDomElement list_elem = child.toElement(); addItem(createItem(list_elem)); } - + + /* // This is done later if(elem.hasAttribute("value")) { setValue(elem.attribute("value")); } + */ } bool ListBox::isValid() -- cgit v1.2.3