diff --git a/src/connectdlg.cpp b/src/connectdlg.cpp index 2ae74c6a..f65dda86 100755 --- a/src/connectdlg.cpp +++ b/src/connectdlg.cpp @@ -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