bug fix: --showallservers ping column sort is alphabetic (#201)
This commit is contained in:
parent
edc6e63d2c
commit
1fd3cc977f
2 changed files with 5 additions and 1 deletions
|
@ -11,8 +11,10 @@
|
|||
|
||||
- improve compact skin by using smaller font size if the name is too long
|
||||
|
||||
- bug fix: --showallservers ping column sort is alphabetic (#201)
|
||||
|
||||
|
||||
TODO If network configuration of client changes (e.g. Wifi to LAN) we may get audio issues for a period of time #426
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -756,8 +756,10 @@ void CConnectDlg::SetPingTimeAndNumClientsResult ( const CHostAddress& InetAddr,
|
|||
}
|
||||
else
|
||||
{
|
||||
// prepend spaces so that we can sort correctly (fieldWidth of
|
||||
// 4 is sufficient since the maximum width is ">500") (#201)
|
||||
pCurListViewItem->
|
||||
setText ( 1, QString().setNum ( iMinPingTime ) + " ms" );
|
||||
setText ( 1, QString ( "%1 ms" ).arg ( iMinPingTime, 4, 10, QLatin1Char ( ' ' ) ) );
|
||||
}
|
||||
|
||||
// update number of clients text
|
||||
|
|
Loading…
Reference in a new issue