diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-07 17:03:55 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-07 17:03:55 +0000 |
commit | b2b13c21091b516b57b4bf3c91a313f019bf3579 (patch) | |
tree | 995e63ecadf1ea16c94b9d39b66a367358b5a27a /src/gui/chat.cpp | |
parent | c09825097c0231c57f9ac416fae0003c5d68398c (diff) | |
download | mana-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/chat.cpp')
-rw-r--r-- | src/gui/chat.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index 48df9efe..b5a0ec13 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -46,16 +46,16 @@ #include "../utils/dtor.h" ChatWindow::ChatWindow(): - Window(""), + Window(), mTmpVisible(false) { - setWindowName("Chat"); mItems = 0; mItemsKeep = 20; setResizable(true); setDefaultSize(0, (windowContainer->getHeight() - 123), 600, 100); - loadWindowState(); + setTitleBarHeight(0); + loadWindowState("Chat"); mChatInput = new ChatInput(); mChatInput->setActionEventId("chatinput"); |