diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-09 02:10:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-09 14:39:29 +0300 |
commit | 29c0c9e731694a40a6f2e41c6bdedb4b78e2b952 (patch) | |
tree | e944129f98e652f2bd9adbcf5cd273a8bbb9e528 /src/guildmanager.cpp | |
parent | 0aca242db52695fa0804ac180fc7961b281b422a (diff) | |
download | manaverse-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.cpp | 8 |
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; +} |