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());