adds ingame-chat nick-highlighting

This commit is contained in:
doitux
2007-10-14 22:05:00 +00:00
parent f2fc2d301c
commit 3138cd22e7
6 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ using namespace std;
Chat::Chat(mainWindowImpl* w, ConfigFile *c) : myW(w), myConfig(c)
{
myChatTools = new ChatTools(myW->lineEdit_ChatInput, myConfig);
myChatTools = new ChatTools(myW->lineEdit_ChatInput, myConfig, 2, myW->textBrowser_Chat);
}
@@ -47,7 +47,7 @@ void Chat::sendMessage() {
void Chat::receiveMessage(QString playerName, QString message) {
myW->textBrowser_Chat->append(playerName + ": " + message);
myChatTools->receiveMessage(playerName, message);
checkInvisible();
}