diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-08 00:17:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-08 00:17:45 +0300 |
commit | 593cccb16074fe9269dd2f278bd79859769eb1fd (patch) | |
tree | d8b3d93001021c59622ea88140dbbef8aee05013 /src/gui | |
parent | b7e35a7bbd41c39fa675e77b2af6a11bb4d86dd2 (diff) | |
download | plus-593cccb16074fe9269dd2f278bd79859769eb1fd.tar.gz plus-593cccb16074fe9269dd2f278bd79859769eb1fd.tar.bz2 plus-593cccb16074fe9269dd2f278bd79859769eb1fd.tar.xz plus-593cccb16074fe9269dd2f278bd79859769eb1fd.zip |
Improve constructors in some classes.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/chatwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/socialwindow.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
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")); |