1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

Removed getStr(bool), replaced with similar toString()

This commit is contained in:
Ivan Savenko
2023-09-04 22:21:02 +03:00
parent 7e27ac7073
commit 86a7f5f5cd
27 changed files with 83 additions and 99 deletions

View File

@@ -240,7 +240,7 @@ void InfoCard::changeSelection()
int pid = p.first;
if(pset)
{
auto name = boost::str(boost::format("%s (%d-%d %s)") % p.second.name % p.second.connection % pid % pset->color.getStr());
auto name = boost::str(boost::format("%s (%d-%d %s)") % p.second.name % p.second.connection % pid % pset->color.toString());
labelGroupPlayersAssigned->add(24, 285 + (int)labelGroupPlayersAssigned->currentSize()*(int)graphics->fonts[FONT_SMALL]->getLineHeight(), name);
}
else