From 593cccb16074fe9269dd2f278bd79859769eb1fd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 8 Sep 2012 00:17:45 +0300 Subject: Improve constructors in some classes. --- src/gui/chatwindow.cpp | 2 ++ src/gui/socialwindow.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui') diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp index 87e89591f..9417f5214 100644 --- a/src/gui/chatwindow.cpp +++ b/src/gui/chatwindow.cpp @@ -189,6 +189,8 @@ ChatWindow::ChatWindow(): setMinWidth(150); setMinHeight(90); + setTitleBarHeight(getPadding() + getTitlePadding()); + mChatTabs->enableScrollButtons(true); mChatTabs->setFollowDownScroll(true); diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp index ccbbf2059..c7bc1b5f1 100644 --- a/src/gui/socialwindow.cpp +++ b/src/gui/socialwindow.cpp @@ -133,8 +133,8 @@ class SocialGuildTab : public SocialTab, public gcn::ActionListener { public: SocialGuildTab(Guild *const guild, const bool showBackground) : - ActionListener(), SocialTab(), + ActionListener(), mGuild(guild) { setCaption(_("Guild")); -- cgit v1.2.3-70-g09d2