summaryrefslogtreecommitdiff
path: root/client/widgets/groupbox.cc
diff options
context:
space:
mode:
authorsenator <senator>2008-03-17 11:30:34 +0000
committersenator <senator>2008-03-17 11:30:34 +0000
commit31facd90fcd595d38520cf05dcedfd03283a74c3 (patch)
tree3111586582e826a857a0af00b5d205ae1b1a4b6f /client/widgets/groupbox.cc
parent96c3b5c064a26b8598943a122d9b6ecbdf1062e9 (diff)
recent changes
Diffstat (limited to 'client/widgets/groupbox.cc')
-rw-r--r--client/widgets/groupbox.cc13
1 files changed, 1 insertions, 12 deletions
diff --git a/client/widgets/groupbox.cc b/client/widgets/groupbox.cc
index 8ac2fc8..03fe538 100644
--- a/client/widgets/groupbox.cc
+++ b/client/widgets/groupbox.cc
@@ -39,24 +39,13 @@ GroupBox::GroupBox(QDomNode node)
setTitle(elem.attribute(""));
}
- /*
- if(elem.hasAttribute("border")) {
- if(elem.attribute("border") == "true") {
- setFlat(false);
- } else {
- setFlat(true);
- }
- } else {
- setFlat(true);
- }
- */
if(elem.hasAttribute("layout")) {
if(elem.attribute("layout") == "hbox") {
QHBoxLayout *layout = new QHBoxLayout();
setLayout(layout);
} else if (elem.attribute("layout") == "vbox") {
QVBoxLayout *layout = new QVBoxLayout();
- setLayout(layout);
+ setLayout(layout);
}
}
}