summaryrefslogtreecommitdiff
path: root/client/widgets/listbox.cc
diff options
context:
space:
mode:
authordeva <deva>2008-08-20 10:28:35 +0000
committerdeva <deva>2008-08-20 10:28:35 +0000
commit3eebecacd576c35605aff01324ec66ad9825b0d7 (patch)
treea4f58503967707cdc1ecab07a0b15b67d32bdab6 /client/widgets/listbox.cc
parent45702265ce206381bcb02a53b413ad987897b02b (diff)
Fixed various small bugs.
Diffstat (limited to 'client/widgets/listbox.cc')
-rw-r--r--client/widgets/listbox.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/widgets/listbox.cc b/client/widgets/listbox.cc
index a47812a..5215c18 100644
--- a/client/widgets/listbox.cc
+++ b/client/widgets/listbox.cc
@@ -80,6 +80,10 @@ ListBox::ListBox(QDomNode &node, MacroWindow *macrowindow)
setMinimumHeight(elem.attribute("height").toInt());
}
+ if(elem.hasAttribute("help")) {
+ setToolTip(elem.attribute("help"));
+ }
+
QDomNodeList children = node.childNodes();
for (int i=0; i < children.count(); i++) {