summaryrefslogtreecommitdiff
path: root/src/gui/status.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-07 17:03:55 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-07 17:03:55 +0000
commitb2b13c21091b516b57b4bf3c91a313f019bf3579 (patch)
tree995e63ecadf1ea16c94b9d39b66a367358b5a27a /src/gui/status.cpp
parentc09825097c0231c57f9ac416fae0003c5d68398c (diff)
downloadmana-b2b13c21091b516b57b4bf3c91a313f019bf3579.tar.gz
mana-b2b13c21091b516b57b4bf3c91a313f019bf3579.tar.bz2
mana-b2b13c21091b516b57b4bf3c91a313f019bf3579.tar.xz
mana-b2b13c21091b516b57b4bf3c91a313f019bf3579.zip
Fixed my breakage of persistent window dimensions. Cleaned a few things along the way.
Diffstat (limited to 'src/gui/status.cpp')
-rw-r--r--src/gui/status.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/status.cpp b/src/gui/status.cpp
index c7cb80c3..8be019dd 100644
--- a/src/gui/status.cpp
+++ b/src/gui/status.cpp
@@ -37,11 +37,10 @@ StatusWindow::StatusWindow(LocalPlayer *player):
Window(player->getName()),
mPlayer(player)
{
- setWindowName("Status");
setResizable(true);
setDefaultSize((windowContainer->getWidth() - 365) / 2,
(windowContainer->getHeight() - 255) / 2, 365, 280);
- loadWindowState();
+ loadWindowState("Status");
// ----------------------
// Status Part