mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-18 05:44:14 -05:00
Merge pull request #903 from sehraf/improve-server-page
hide hidden service port for I2P instead of just disabling it
This commit is contained in:
commit
579c944ac3
@ -1076,7 +1076,7 @@ void ServerPage::loadHiddenNode()
|
|||||||
whileBlocking(ui.hiddenpage_serviceAddress)->setText(QString::fromStdString(detail.hiddenNodeAddress));
|
whileBlocking(ui.hiddenpage_serviceAddress)->setText(QString::fromStdString(detail.hiddenNodeAddress));
|
||||||
whileBlocking(ui.hiddenpage_servicePort) -> setValue(detail.hiddenNodePort);
|
whileBlocking(ui.hiddenpage_servicePort) -> setValue(detail.hiddenNodePort);
|
||||||
/* in I2P there is no port - there is only the address */
|
/* in I2P there is no port - there is only the address */
|
||||||
whileBlocking(ui.hiddenpage_servicePort)->setEnabled(detail.hiddenType != RS_HIDDEN_TYPE_I2P);
|
whileBlocking(ui.hiddenpage_servicePort)->setHidden(detail.hiddenType == RS_HIDDEN_TYPE_I2P);
|
||||||
|
|
||||||
/* out proxy settings */
|
/* out proxy settings */
|
||||||
std::string proxyaddr;
|
std::string proxyaddr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user