mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 00:19:25 -05:00
hide/disable unnecessary Tor widgets in auto-tor mode and show outgoing I2P widgets
This commit is contained in:
parent
992d5c30d3
commit
c0024e3487
@ -102,11 +102,20 @@ ServerPage::ServerPage(QWidget * parent, Qt::WindowFlags flags)
|
|||||||
{
|
{
|
||||||
// Here we use absolute numbers instead of consts defined above, because the consts correspond to the tab number *after* this tab removal.
|
// Here we use absolute numbers instead of consts defined above, because the consts correspond to the tab number *after* this tab removal.
|
||||||
|
|
||||||
ui.hiddenpage_proxyAddress_i2p->hide() ;
|
ui.hiddenpage_proxyAddress_tor->setEnabled(false) ;
|
||||||
ui.hiddenpage_proxyLabel_i2p->hide() ;
|
ui.hiddenpage_proxyPort_tor->setEnabled(false) ;
|
||||||
ui.hiddenpage_proxyPort_i2p->hide() ;
|
ui.hiddenpage_localAddress->setEnabled(false) ;
|
||||||
ui.label_i2p_outgoing->hide() ;
|
ui.hiddenpage_localPort->setEnabled(false) ;
|
||||||
ui.iconlabel_i2p_outgoing->hide() ;
|
ui.testIncoming_PB->hide() ;
|
||||||
|
ui.l_incomingTestResult->hide() ;
|
||||||
|
ui.iconlabel_service_incoming->hide() ;
|
||||||
|
|
||||||
|
// ui.hiddenpage_proxyAddress_i2p->hide() ;
|
||||||
|
// ui.hiddenpage_proxyLabel_i2p->hide() ;
|
||||||
|
// ui.hiddenpage_proxyPort_i2p->hide() ;
|
||||||
|
// ui.label_i2p_outgoing->hide() ;
|
||||||
|
// ui.iconlabel_i2p_outgoing->hide() ;
|
||||||
|
|
||||||
ui.info_SocksProxy->hide() ;
|
ui.info_SocksProxy->hide() ;
|
||||||
ui.hiddenpage_configuration->hide() ;
|
ui.hiddenpage_configuration->hide() ;
|
||||||
ui.l_hiddenpage_configuration->hide() ;
|
ui.l_hiddenpage_configuration->hide() ;
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QTabWidget" name="tabWidget">
|
<widget class="QTabWidget" name="tabWidget">
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>0</number>
|
<number>1</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="tabNetConf">
|
<widget class="QWidget" name="tabNetConf">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
@ -759,7 +759,7 @@ behind a firewall or a VPN.</string>
|
|||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>0</number>
|
<number>1</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="hiddenServiceTabManual">
|
<widget class="QWidget" name="hiddenServiceTabManual">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
|
Loading…
Reference in New Issue
Block a user