summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-18 17:27:52 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-18 17:27:52 +0300
commitc8b1e6e5455dd0c9c51b6b212478ed1e5aa1af4c (patch)
treed55c787b60a1eeac7d664f3a07cd615d4525e360 /src/gui/windows
parentc1dc5cd3ee07f3a7045f849d8e3557a3dbf16e64 (diff)
downloadplus-c8b1e6e5455dd0c9c51b6b212478ed1e5aa1af4c.tar.gz
plus-c8b1e6e5455dd0c9c51b6b212478ed1e5aa1af4c.tar.bz2
plus-c8b1e6e5455dd0c9c51b6b212478ed1e5aa1af4c.tar.xz
plus-c8b1e6e5455dd0c9c51b6b212478ed1e5aa1af4c.zip
Remove createpartypopup class.
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;