Hide checkbox "Allowing Tunnel Connection" in the server settings for the release version.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3847 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-11-21 21:38:32 +00:00
parent 064b619f70
commit d673d42ba9

View File

@ -53,12 +53,13 @@ ServerPage::ServerPage(QWidget * parent, Qt::WFlags flags)
ui.allowIpDeterminationCB->setChecked(b) ;
ui.IPServersLV->setEnabled(b) ;
// #ifdef RS_RELEASE_VERSION
// ui.allowTunnelConnectionCB->hide();
// this->toggleTunnelConnection(false);
// #endif
#ifdef RS_RELEASE_VERSION
ui.allowTunnelConnectionCB->hide();
this->toggleTunnelConnection(false);
#else
b = rsPeers->getAllowTunnelConnection() ;
ui.allowTunnelConnectionCB->setChecked(b) ;
#endif
std::list<std::string> ip_servers ;
rsPeers->getIPServersList(ip_servers) ;