summaryrefslogtreecommitdiff
path: root/client/widgets/frame.cc
diff options
context:
space:
mode:
authorsenator <senator>2007-07-25 09:11:31 +0000
committersenator <senator>2007-07-25 09:11:31 +0000
commitce667bf4b2f3de7aab677ac7e7f23bc72d3db80f (patch)
tree760a18ca48e59274553ca6c211c08770f031ad56 /client/widgets/frame.cc
parent22de7bf19fb6fcce8d11c0e01afdfafa2a8c00d6 (diff)
migrated all widgets to use QDomNodes; Implemented the getName functionality
Diffstat (limited to 'client/widgets/frame.cc')
-rw-r--r--client/widgets/frame.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/widgets/frame.cc b/client/widgets/frame.cc
index 0ea7d25..b993f9a 100644
--- a/client/widgets/frame.cc
+++ b/client/widgets/frame.cc
@@ -29,6 +29,7 @@
Frame::Frame(QDomNode node) : QGroupBox()
{
QDomElement elem = node.toElement();
+ widget_name = elem.attribute("name");
setTitle(elem.attribute("caption"));
}