summaryrefslogtreecommitdiff
path: root/client/widgets/window.cc
diff options
context:
space:
mode:
authorsenator <senator>2007-10-02 10:09:37 +0000
committersenator <senator>2007-10-02 10:09:37 +0000
commit8dadd3a9f18b6d4e8884862658fe8a1d042f631c (patch)
treee28c16aafcfdb9c76cdc34aeb5c9b1cbdd5d9bbe /client/widgets/window.cc
parent9910c8962ab813ab7d9a04609b689e1d9ae038e0 (diff)
misc minor changes for testing
Diffstat (limited to 'client/widgets/window.cc')
-rw-r--r--client/widgets/window.cc2
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")) {