From e77b109ef5d54950bbcf87f266816a0a0cf44f51 Mon Sep 17 00:00:00 2001 From: Koncord Date: Mon, 1 May 2017 18:48:38 +0800 Subject: [PATCH] [Browser] Show only fully connected players in main window --- apps/browser/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/browser/MainWindow.cpp b/apps/browser/MainWindow.cpp index e924ea5ca..30aa2b9fe 100644 --- a/apps/browser/MainWindow.cpp +++ b/apps/browser/MainWindow.cpp @@ -120,7 +120,7 @@ bool MainWindow::refresh() model->setData(mi, server.first.ToString(true, ':')); mi = model->index(0, ServerData::PLAYERS); - model->setData(mi, server.second.GetPlayers()); + model->setData(mi, (int)server.second.players.size()); mi = model->index(0, ServerData::MAX_PLAYERS); model->setData(mi, server.second.GetMaxPlayers());