diff options
Diffstat (limited to 'client/widgets/groupbox.cc')
-rw-r--r-- | client/widgets/groupbox.cc | 13 |
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); } } } |