only show country if set by the user (no default string)
This commit is contained in:
parent
7cf080a63d
commit
3322af3bcc
|
@ -240,8 +240,11 @@ void CConnectDlg::SetServerList ( const CHostAddress& InetAddr,
|
||||||
{
|
{
|
||||||
strLocation += ", ";
|
strLocation += ", ";
|
||||||
}
|
}
|
||||||
strLocation +=
|
if ( vecServerInfo[iIdx].eCountry != QLocale::AnyCountry )
|
||||||
QLocale::countryToString ( vecServerInfo[iIdx].eCountry );
|
{
|
||||||
|
strLocation +=
|
||||||
|
QLocale::countryToString ( vecServerInfo[iIdx].eCountry );
|
||||||
|
}
|
||||||
|
|
||||||
pNewListViewItem->setText ( 3, strLocation );
|
pNewListViewItem->setText ( 3, strLocation );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user