--- a/QTfrontend/chatwidget.cpp Tue Feb 09 03:21:09 2010 +0000
+++ b/QTfrontend/chatwidget.cpp Tue Feb 09 13:04:11 2010 +0000
@@ -126,13 +126,13 @@
chatText->moveCursor(QTextCursor::End);
}
-void HWChatWidget::nickAdded(const QString& nick, bool isChief)
+void HWChatWidget::nickAdded(const QString& nick, bool notifyNick)
{
QListWidgetItem * item = new QListWidgetItem(nick);
item->setIcon(QIcon(":/res/hh_small.png"));
chatNicks->addItem(item);
- if(isChief && notify && gameSettings->value("audio/frontendsound", true).toBool()) {
+ if(notifyNick && notify && gameSettings->value("audio/frontendsound", true).toBool()) {
Mix_PlayChannel(-1, sound, 0);
}
}