summaryrefslogtreecommitdiff
path: root/src/gui/widgets/avatarlistbox.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-08 15:17:51 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-08 15:28:43 +0300
commitc5a64309d9d792fc4ee3218f4db902e8a846a18a (patch)
tree08618c439436faa4f5265f4967a426b44fa79889 /src/gui/widgets/avatarlistbox.cpp
parent58b4f0bc45f9b866899db035664378969e583b01 (diff)
downloadmanaverse-c5a64309d9d792fc4ee3218f4db902e8a846a18a.tar.gz
manaverse-c5a64309d9d792fc4ee3218f4db902e8a846a18a.tar.bz2
manaverse-c5a64309d9d792fc4ee3218f4db902e8a846a18a.tar.xz
manaverse-c5a64309d9d792fc4ee3218f4db902e8a846a18a.zip
Add new colors for whisper tabs.
New colors: WHISPER_TAB_HIGHLIGHTED, WHISPER_TAB_OFFLINE_HIGHLIGHTED, WHISPER_TAB_SELECTED, WHISPER_TAB_OFFLINE_SELECTED
Diffstat (limited to 'src/gui/widgets/avatarlistbox.cpp')
-rw-r--r--src/gui/widgets/avatarlistbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp
index b54b3d945..805922b2b 100644
--- a/src/gui/widgets/avatarlistbox.cpp
+++ b/src/gui/widgets/avatarlistbox.cpp
@@ -397,7 +397,7 @@ void AvatarListBox::mousePressed(gcn::MouseEvent &event)
{
if (ava->getType() == AVATAR_PLAYER && chatWindow)
{
- const ChatTab *const tab = chatWindow->addWhisperTab(
+ const WhisperTab *const tab = chatWindow->addWhisperTab(
model->getAvatarAt(selected)->getName(), true);
if (chatWindow && tab)
chatWindow->saveState();