summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-08 00:17:45 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-08 00:17:45 +0300
commit593cccb16074fe9269dd2f278bd79859769eb1fd (patch)
treed8b3d93001021c59622ea88140dbbef8aee05013 /src/gui
parentb7e35a7bbd41c39fa675e77b2af6a11bb4d86dd2 (diff)
downloadmv-593cccb16074fe9269dd2f278bd79859769eb1fd.tar.gz
mv-593cccb16074fe9269dd2f278bd79859769eb1fd.tar.bz2
mv-593cccb16074fe9269dd2f278bd79859769eb1fd.tar.xz
mv-593cccb16074fe9269dd2f278bd79859769eb1fd.zip
Improve constructors in some classes.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/chatwindow.cpp2
-rw-r--r--src/gui/socialwindow.cpp2
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"));