From b2b13c21091b516b57b4bf3c91a313f019bf3579 Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Tue, 7 Aug 2007 17:03:55 +0000 Subject: Fixed my breakage of persistent window dimensions. Cleaned a few things along the way. --- src/gui/chat.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/chat.cpp') 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"); -- cgit v1.2.3-60-g2f50