summaryrefslogtreecommitdiff
path: root/src/gui/socialwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/socialwindow.cpp')
-rw-r--r--src/gui/socialwindow.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp
index 83569416a..bdac7cca6 100644
--- a/src/gui/socialwindow.cpp
+++ b/src/gui/socialwindow.cpp
@@ -250,11 +250,10 @@ private:
class SocialGuildTab2 final : public SocialTab, public gcn::ActionListener
{
public:
- SocialGuildTab2(const Widget2 *const widget,
- Guild *const guild, const bool showBackground) :
+ SocialGuildTab2(const Widget2 *const widget, Guild *const guild,
+ const bool showBackground) :
SocialTab(widget),
- gcn::ActionListener(),
- mGuild(guild)
+ gcn::ActionListener()
{
// TRANSLATORS: tab in social window
setCaption(_("Guild"));
@@ -288,9 +287,6 @@ public:
void action(const gcn::ActionEvent &event A_UNUSED) override
{
}
-
-private:
- Guild *mGuild;
};
class SocialPartyTab final : public SocialTab, public gcn::ActionListener