summaryrefslogtreecommitdiff
path: root/client/widgets/frame.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgets/frame.cc')
-rw-r--r--client/widgets/frame.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/client/widgets/frame.cc b/client/widgets/frame.cc
index 508541d..bc72a2a 100644
--- a/client/widgets/frame.cc
+++ b/client/widgets/frame.cc
@@ -29,16 +29,18 @@
#include <QHBoxLayout>
Frame::Frame(QDomNode node)
- : QGroupBox(), Widget(node)
+ : QFrame(), Widget(node)
{
QDomElement elem = node.toElement();
+ /*
if(elem.hasAttribute("caption")) {
setTitle(elem.attribute("caption"));
} else {
setTitle(elem.attribute(""));
}
-
+ */
+ /*
if(elem.hasAttribute("border")) {
if(elem.attribute("border") == "true") {
setFlat(false);
@@ -48,7 +50,7 @@ Frame::Frame(QDomNode node)
} else {
setFlat(true);
}
-
+ */
if(elem.hasAttribute("layout")) {
if(elem.attribute("layout") == "hbox") {
QHBoxLayout *layout = new QHBoxLayout();