QTfrontend/ui/widget/chatwidget.cpp
changeset 8762 388d2bf73ff9
parent 8759 1a4b9b9fe2b0
child 8768 7450cb9c815b
--- a/QTfrontend/ui/widget/chatwidget.cpp	Wed Mar 20 23:18:46 2013 +0100
+++ b/QTfrontend/ui/widget/chatwidget.cpp	Thu Mar 21 09:27:35 2013 +0100
@@ -580,6 +580,19 @@
     }
 }
 
+void HWChatWidget::onPlayerInfo(
+            const QString & nick,
+            const QString & ip,
+            const QString & version,
+            const QString & roomInfo)
+{
+    addLine("msg_PlayerInfo", QString(" >>> %1 - <span class=\"ipaddress\">%2</span> <span class=\"version\">%3</span> <span class=\"location\">%4</span>")
+        .arg(linkedNick(nick))
+        .arg(ip)
+        .arg(version)
+        .arg(roomInfo));
+}
+
 void HWChatWidget::onKick()
 {
     QModelIndexList mil = chatNicks->selectionModel()->selectedRows();