summaryrefslogtreecommitdiff
path: root/src/guildmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-09 02:10:02 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-09 14:39:29 +0300
commit29c0c9e731694a40a6f2e41c6bdedb4b78e2b952 (patch)
treee944129f98e652f2bd9adbcf5cd273a8bbb9e528 /src/guildmanager.cpp
parent0aca242db52695fa0804ac180fc7961b281b422a (diff)
downloadManaVerse-29c0c9e731694a40a6f2e41c6bdedb4b78e2b952.tar.gz
ManaVerse-29c0c9e731694a40a6f2e41c6bdedb4b78e2b952.tar.bz2
ManaVerse-29c0c9e731694a40a6f2e41c6bdedb4b78e2b952.tar.xz
ManaVerse-29c0c9e731694a40a6f2e41c6bdedb4b78e2b952.zip
Add new notifications to guildhandler, guildmanager, inventoryhandler and partyhandler.
Diffstat (limited to 'src/guildmanager.cpp')
-rw-r--r--src/guildmanager.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/guildmanager.cpp b/src/guildmanager.cpp
index 180758cf7..7e096a276 100644
--- a/src/guildmanager.cpp
+++ b/src/guildmanager.cpp
@@ -25,6 +25,7 @@
#include "configuration.h"
#include "guild.h"
#include "localplayer.h"
+#include "notifymanager.h"
#include "gui/socialwindow.h"
@@ -508,7 +509,7 @@ bool GuildManager::afterRemove()
player_node->setGuildName("");
player_node->clearGuilds();
}
- SERVER_NOTICE(_("You have left the guild."))
+ NotifyManager::notify(NotifyManager::GUILD_LEFT);
delete mTab;
mTab = nullptr;
@@ -522,3 +523,8 @@ bool GuildManager::afterRemove()
reload();
return true;
}
+
+ChatTab *GuildManager::getTab()
+{
+ return mTab;
+}