From 41adf71a823f475b7f12b00e06056b778311da84 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Oct 2012 00:52:01 +0300 Subject: Add palette inheritance to button class. --- src/gui/socialwindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/socialwindow.cpp') diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp index fef935314..29520b5f7 100644 --- a/src/gui/socialwindow.cpp +++ b/src/gui/socialwindow.cpp @@ -1243,9 +1243,9 @@ SocialWindow::SocialWindow() : mFriends(new SocialFriendsTab(this, _("F"), getOptionBool("showtabbackground"))), mCreatePopup(new CreatePopup), - mCreateButton(new Button(_("Create"), "create", this)), - mInviteButton(new Button(_("Invite"), "invite", this)), - mLeaveButton(new Button(_("Leave"), "leave", this)), + mCreateButton(new Button(this, _("Create"), "create", this)), + mInviteButton(new Button(this, _("Invite"), "invite", this)), + mLeaveButton(new Button(this, _("Leave"), "leave", this)), mTabs(new TabbedArea(this)), mMap(nullptr), mLastUpdateTime(0), -- cgit v1.2.3-60-g2f50