summaryrefslogtreecommitdiff
path: root/src/gui/widgets/emoteshortcutcontainer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-19 01:10:55 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-19 01:10:55 +0300
commit81c73d43071de8ac22af1b7b9174cab1809203ba (patch)
treef66232c757092af8411a8abdc79906455f64bb0c /src/gui/widgets/emoteshortcutcontainer.cpp
parente9e343366fbfbe9a6343089ff113354524f3f306 (diff)
downloadManaVerse-81c73d43071de8ac22af1b7b9174cab1809203ba.tar.gz
ManaVerse-81c73d43071de8ac22af1b7b9174cab1809203ba.tar.bz2
ManaVerse-81c73d43071de8ac22af1b7b9174cab1809203ba.tar.xz
ManaVerse-81c73d43071de8ac22af1b7b9174cab1809203ba.zip
in emotes popup show also emote id.
Diffstat (limited to 'src/gui/widgets/emoteshortcutcontainer.cpp')
-rw-r--r--src/gui/widgets/emoteshortcutcontainer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/emoteshortcutcontainer.cpp b/src/gui/widgets/emoteshortcutcontainer.cpp
index fa413452f..d080a6072 100644
--- a/src/gui/widgets/emoteshortcutcontainer.cpp
+++ b/src/gui/widgets/emoteshortcutcontainer.cpp
@@ -220,8 +220,9 @@ void EmoteShortcutContainer::mouseMoved(gcn::MouseEvent &event)
if (static_cast<unsigned>(index) < mEmoteImg.size() && mEmoteImg[index])
{
+ const EmoteSprite *const sprite = mEmoteImg[index];
mEmotePopup->show(viewport->getMouseX(), viewport->getMouseY(),
- mEmoteImg[index]->name);
+ strprintf("%s, %d", sprite->name.c_str(), sprite->id));
}
}