added some code for debugging purpose
This commit is contained in:
parent
3b539351b1
commit
7cf53d7099
1 changed files with 8 additions and 1 deletions
|
@ -169,7 +169,7 @@ void CConnectDlg::showEvent ( QShowEvent* )
|
|||
TimerReRequestServList.start ( SERV_LIST_REQ_UPDATE_TIME_MS );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void CConnectDlg::hideEvent ( QHideEvent* )
|
||||
{
|
||||
// get the IP address to be used according to the following definitions:
|
||||
|
@ -290,6 +290,13 @@ void CConnectDlg::SetServerList ( const CHostAddress& InetAddr,
|
|||
QLocale::countryToString ( vecServerInfo[iIdx].eCountry );
|
||||
}
|
||||
|
||||
// for debugging, plot address infos in connect dialog
|
||||
// Do not enable this for official versions!
|
||||
#if 0
|
||||
strLocation += ", " + vecServerInfo[iIdx].HostAddr.InetAddr.toString() +
|
||||
":" + QString().setNum ( vecServerInfo[iIdx].HostAddr.iPort );
|
||||
#endif
|
||||
|
||||
pNewListViewItem->setText ( 3, strLocation );
|
||||
|
||||
// init the minimum ping time with a large number (note that this number
|
||||
|
|
Loading…
Reference in a new issue