mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
064b619f70
commit
d673d42ba9
@ -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
|
||||
b = rsPeers->getAllowTunnelConnection() ;
|
||||
ui.allowTunnelConnectionCB->setChecked(b) ;
|
||||
#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) ;
|
||||
|
Loading…
Reference in New Issue
Block a user