From 81c73d43071de8ac22af1b7b9174cab1809203ba Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 19 Jan 2014 01:10:55 +0300 Subject: in emotes popup show also emote id. --- src/gui/widgets/emoteshortcutcontainer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui') 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(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)); } } -- cgit v1.2.3-70-g09d2