diff options
Diffstat (limited to 'client/widgets/window.cc')
-rw-r--r-- | client/widgets/window.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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")) { |