QTfrontend/ui/widget/chatwidget.cpp
changeset 10252 814e137625f7
parent 10248 7b9b44a051f8
child 10534 a148229a0158
equal deleted inserted replaced
10251:a3b42e81803c 10252:814e137625f7
   591             const QString & version,
   591             const QString & version,
   592             const QString & roomInfo)
   592             const QString & roomInfo)
   593 {
   593 {
   594     addLine("msg_PlayerInfo", QString(" >>> %1 - <span class=\"ipaddress\">%2</span> <span class=\"version\">%3</span> <span class=\"location\">%4</span>")
   594     addLine("msg_PlayerInfo", QString(" >>> %1 - <span class=\"ipaddress\">%2</span> <span class=\"version\">%3</span> <span class=\"location\">%4</span>")
   595         .arg(linkedNick(nick))
   595         .arg(linkedNick(nick))
   596         .arg(ip == "[]"?"":ip)
   596         .arg(Qt::escape(ip == "[]"?"":ip))
   597         .arg(version)
   597         .arg(Qt::escape(version))
   598         .arg(roomInfo));
   598         .arg(Qt::escape(roomInfo))
       
   599     );
   599 }
   600 }
   600 
   601 
   601 void HWChatWidget::onKick()
   602 void HWChatWidget::onKick()
   602 {
   603 {
   603     QModelIndexList mil = chatNicks->selectionModel()->selectedRows();
   604     QModelIndexList mil = chatNicks->selectionModel()->selectedRows();