adds lobby stats information
This commit is contained in:
1 parent
a372f614e5
commit
a878827c84
4 files changed
+78
No files matched your search
@@ -76,6 +76,8 @@ void LobbyChat::playerJoined(QString playerName)
|
||||
item->setData(0, Qt::DisplayRole, playerName);
|
||||
|
||||
myLobby->treeWidget_NickList->sortItems(0, Qt::AscendingOrder);
|
||||
|
||||
myLobby->refreshPlayerStats();
|
||||
}
|
||||
|
||||
void LobbyChat::playerChanged(QString oldNick, QString newNick)
|
||||
@@ -114,6 +116,8 @@ void LobbyChat::playerLeft(QString playerName)
|
||||
myLobby->treeWidget_NickList->takeTopLevelItem(myLobby->treeWidget_NickList->indexOfTopLevelItem(tmpList.front()));
|
||||
|
||||
myLobby->treeWidget_NickList->sortItems(0, Qt::AscendingOrder);
|
||||
|
||||
myLobby->refreshPlayerStats();
|
||||
}
|
||||
|
||||
void LobbyChat::displayMessage(QString playerName, QString message) {
|
||||
|
||||
Reference in new issue
Block a user