mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 00:19:25 -05:00
fixed update of Tor status in settings
This commit is contained in:
parent
8534147313
commit
19f1a645f8
@ -366,13 +366,6 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="2" column="0">
|
|
||||||
<widget class="QCheckBox" name="checkBoxShowDHTStatus">
|
|
||||||
<property name="text">
|
|
||||||
<string>Show DHT Status</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="2" column="1">
|
<item row="2" column="1">
|
||||||
<widget class="QCheckBox" name="checkBoxShowHashingStatus">
|
<widget class="QCheckBox" name="checkBoxShowHashingStatus">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@ -380,13 +373,6 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="2">
|
|
||||||
<widget class="QCheckBox" name="checkBoxShowNATStatus">
|
|
||||||
<property name="text">
|
|
||||||
<string>Show NAT Status</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="1" column="1">
|
<item row="1" column="1">
|
||||||
<widget class="QCheckBox" name="checkBoxShowPeerStatus">
|
<widget class="QCheckBox" name="checkBoxShowPeerStatus">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@ -418,17 +404,31 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="4" column="2">
|
<item row="2" column="2">
|
||||||
<widget class="QCheckBox" name="checkBoxShowSystrayOnStatus">
|
<widget class="QCheckBox" name="checkBoxShowNATStatus">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Show SysTray on Status Bar</string>
|
<string>Show NAT Status</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="2">
|
||||||
|
<widget class="QCheckBox" name="checkBoxShowOpModeStatus">
|
||||||
|
<property name="text">
|
||||||
|
<string>Show Operating Mode Status</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="2">
|
<item row="3" column="2">
|
||||||
<widget class="QCheckBox" name="checkBoxShowOpModeStatus">
|
<widget class="QCheckBox" name="checkBoxShowDHTStatus">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Show Operating Mode Status</string>
|
<string>Show DHT Status</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="0">
|
||||||
|
<widget class="QCheckBox" name="checkBoxShowSystrayOnStatus">
|
||||||
|
<property name="text">
|
||||||
|
<string>Show SysTray on Status Bar</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -62,12 +62,20 @@
|
|||||||
///
|
///
|
||||||
|
|
||||||
#ifdef RETROTOR
|
#ifdef RETROTOR
|
||||||
|
const static uint32_t TAB_HIDDEN_SERVICE_OUTGOING = 0;
|
||||||
const static uint32_t TAB_HIDDEN_SERVICE_INCOMING = 1;
|
const static uint32_t TAB_HIDDEN_SERVICE_INCOMING = 1;
|
||||||
|
|
||||||
|
const static uint32_t TAB_NETWORK = 0;
|
||||||
|
const static uint32_t TAB_HIDDEN_SERVICE = 1;
|
||||||
const static uint32_t TAB_IP_FILTERS = 99; // This is a trick: these tabs do not exist, so enabling/disabling them has no effect
|
const static uint32_t TAB_IP_FILTERS = 99; // This is a trick: these tabs do not exist, so enabling/disabling them has no effect
|
||||||
const static uint32_t TAB_RELAYS = 99;
|
const static uint32_t TAB_RELAYS = 99;
|
||||||
#else
|
#else
|
||||||
const static uint32_t TAB_IP_FILTERS = 1;
|
const static uint32_t TAB_HIDDEN_SERVICE_OUTGOING = 0;
|
||||||
const static uint32_t TAB_HIDDEN_SERVICE_INCOMING = 2;
|
const static uint32_t TAB_HIDDEN_SERVICE_INCOMING = 2;
|
||||||
|
|
||||||
|
const static uint32_t TAB_NETWORK = 0;
|
||||||
|
const static uint32_t TAB_IP_FILTERS = 1;
|
||||||
|
const static uint32_t TAB_HIDDEN_SERVICE = 2;
|
||||||
const static uint32_t TAB_RELAYS = 3;
|
const static uint32_t TAB_RELAYS = 3;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -908,7 +916,7 @@ void ServerPage::saveAddresses()
|
|||||||
|
|
||||||
saveCommon();
|
saveCommon();
|
||||||
|
|
||||||
if(ui.tabWidget->currentIndex() == 2) // hidden services tab
|
if(ui.tabWidget->currentIndex() == TAB_HIDDEN_SERVICE) // hidden services tab
|
||||||
updateOutProxyIndicator();
|
updateOutProxyIndicator();
|
||||||
|
|
||||||
if (mIsHiddenNode) {
|
if (mIsHiddenNode) {
|
||||||
|
@ -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>2</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="tabNetConf">
|
<widget class="QWidget" name="tabNetConf">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
@ -810,7 +810,7 @@ behind a firewall or a VPN.</string>
|
|||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>2</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="hiddenServiceTabManual">
|
<widget class="QWidget" name="hiddenServiceTabManual">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
|
@ -389,6 +389,8 @@ feenableexcept(FE_INVALID | FE_DIVBYZERO);
|
|||||||
splashScreen.show();
|
splashScreen.show();
|
||||||
splashScreen.showMessage(rshare.translate("SplashScreen", "Load configuration"), Qt::AlignHCenter | Qt::AlignBottom);
|
splashScreen.showMessage(rshare.translate("SplashScreen", "Load configuration"), Qt::AlignHCenter | Qt::AlignBottom);
|
||||||
|
|
||||||
|
QCoreApplication::processEvents();
|
||||||
|
|
||||||
/* stop Retroshare if startup fails */
|
/* stop Retroshare if startup fails */
|
||||||
if (!RsControl::instance()->StartupRetroShare())
|
if (!RsControl::instance()->StartupRetroShare())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user