From ba66d798fe5178e7b7965b7cca1b0e351f07aa4e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 12 Dec 2014 12:40:04 +0300 Subject: Remove "follow" popup menu handler. --- src/gui/popups/popupmenu.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 9fed214d9..bc16aee86 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -981,13 +981,7 @@ void PopupMenu::handleLink(const std::string &link, if (actorManager) being = actorManager->findBeing(mBeingId); - // Follow Player action - if (link == "follow" && !mNick.empty()) - { - if (localPlayer) - localPlayer->setFollow(mNick); - } - else if (link == "imitation" && !mNick.empty()) + if (link == "imitation" && !mNick.empty()) { if (localPlayer) localPlayer->setImitate(mNick); @@ -2652,7 +2646,7 @@ void PopupMenu::addFollow() if (features.getBoolValue("allowFollow")) { // TRANSLATORS: popup menu item - mBrowserBox->addRow("follow", _("Follow")); + mBrowserBox->addRow("/follow 'NAME'", _("Follow")); } // TRANSLATORS: popup menu item // TRANSLATORS: imitate player -- cgit v1.2.3-70-g09d2