mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 07:59:35 -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.
|
||||
|
||||
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.hiddenpage_proxyAddress_tor->setEnabled(false) ;
|
||||
ui.hiddenpage_proxyPort_tor->setEnabled(false) ;
|
||||
ui.hiddenpage_localAddress->setEnabled(false) ;
|
||||
ui.hiddenpage_localPort->setEnabled(false) ;
|
||||
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.hiddenpage_configuration->hide() ;
|
||||
ui.l_hiddenpage_configuration->hide() ;
|
||||
|
@ -26,7 +26,7 @@
|
||||
<item>
|
||||
<widget class="QTabWidget" name="tabWidget">
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
<number>1</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="tabNetConf">
|
||||
<attribute name="title">
|
||||
@ -759,7 +759,7 @@ behind a firewall or a VPN.</string>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
<number>1</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="hiddenServiceTabManual">
|
||||
<attribute name="title">
|
||||
|
Loading…
Reference in New Issue
Block a user