summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/socialwindow.cpp4
-rw-r--r--src/gui/windows/socialwindow.h3
2 files changed, 0 insertions, 7 deletions
diff --git a/src/gui/windows/socialwindow.cpp b/src/gui/windows/socialwindow.cpp
index 647fceb23..ad9c34e8c 100644
--- a/src/gui/windows/socialwindow.cpp
+++ b/src/gui/windows/socialwindow.cpp
@@ -37,8 +37,6 @@
#include "gui/widgets/tabs/socialpickuptab.h"
#include "gui/widgets/tabs/socialplayerstab.h"
-#include "gui/popups/createpartypopup.h"
-
#include "net/serverfeatures.h"
#ifdef TMWA_SUPPORT
@@ -72,7 +70,6 @@ SocialWindow::SocialWindow() :
// TRANSLATORS: here F is title for friends tab in social window
mFriends(new SocialFriendsTab(this, _("F"),
getOptionBool("showtabbackground"))),
- mCreatePopup(CREATEWIDGETR0(CreatePartyPopup)),
// TRANSLATORS: social window button
mCreateButton(new Button(this, _("Create"), "create", this)),
mCountLabel(new Label(this, "1000 / 1000")),
@@ -167,7 +164,6 @@ SocialWindow::~SocialWindow()
mPartyInviter.clear();
}
- delete2(mCreatePopup);
delete2(mPlayers);
delete2(mNavigation);
delete2(mAttackFilter);
diff --git a/src/gui/windows/socialwindow.h b/src/gui/windows/socialwindow.h
index 676ede11d..89cf673da 100644
--- a/src/gui/windows/socialwindow.h
+++ b/src/gui/windows/socialwindow.h
@@ -29,7 +29,6 @@
class Button;
class ConfirmDialog;
-class CreatePartyPopup;
class Guild;
class Label;
class Map;
@@ -157,8 +156,6 @@ class SocialWindow final : public Window,
SocialTab *mNavigation A_NONNULLPOINTER;
SocialTab *mFriends A_NONNULLPOINTER;
- CreatePartyPopup *mCreatePopup A_NONNULLPOINTER;
-
Button *mCreateButton A_NONNULLPOINTER;
Label *mCountLabel A_NONNULLPOINTER;
TabbedArea *mTabs A_NONNULLPOINTER;