From d673d42ba97bf58abecf53e0f4c449f3344c252c Mon Sep 17 00:00:00 2001 From: thunder2 Date: Sun, 21 Nov 2010 21:38:32 +0000 Subject: [PATCH] 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 --- retroshare-gui/src/gui/settings/ServerPage.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/retroshare-gui/src/gui/settings/ServerPage.cpp b/retroshare-gui/src/gui/settings/ServerPage.cpp index 9ee9953d2..636e63c77 100755 --- a/retroshare-gui/src/gui/settings/ServerPage.cpp +++ b/retroshare-gui/src/gui/settings/ServerPage.cpp @@ -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 ip_servers ; rsPeers->getIPServersList(ip_servers) ;