From 31facd90fcd595d38520cf05dcedfd03283a74c3 Mon Sep 17 00:00:00 2001 From: senator Date: Mon, 17 Mar 2008 11:30:34 +0000 Subject: recent changes --- client/widgets/groupbox.cc | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'client/widgets/groupbox.cc') 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); } } } -- cgit v1.2.3