From 8dadd3a9f18b6d4e8884862658fe8a1d042f631c Mon Sep 17 00:00:00 2001 From: senator Date: Tue, 2 Oct 2007 10:09:37 +0000 Subject: misc minor changes for testing --- client/widgets/window.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/widgets/window.cc') diff --git a/client/widgets/window.cc b/client/widgets/window.cc index e93edca..8357c30 100644 --- a/client/widgets/window.cc +++ b/client/widgets/window.cc @@ -35,10 +35,12 @@ Window::Window(QDomNode node) if(elem.hasAttribute("width")) { setMinimumWidth(elem.attribute("width").toInt()); + resize(elem.attribute("width").toInt(), height()); } if(elem.hasAttribute("height")) { setMinimumHeight(elem.attribute("height").toInt()); + resize(width(), elem.attribute("height").toInt()); } if(elem.hasAttribute("fixed")) { -- cgit v1.2.3