mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
add friend wizard - refinements for hidden nodes
This commit is contained in:
parent
03b5fb663e
commit
da41343899
@ -545,6 +545,18 @@ void ConnectFriendWizard::initializePage(int id)
|
||||
ui->signersEdit->setPlainText(ts);
|
||||
|
||||
fillGroups(this, ui->groupComboBox, groupId);
|
||||
|
||||
if(peerDetails.isHiddenNode)
|
||||
{
|
||||
ui->_addIPToWhiteList_CB_2->setEnabled(false) ;
|
||||
ui->_require_WL_CB_2->setEnabled(false) ;
|
||||
ui->_addIPToWhiteList_ComboBox_2->setEnabled(false) ;
|
||||
ui->_addIPToWhiteList_ComboBox_2->addItem("(Hidden node)") ;
|
||||
int S = QFontMetricsF(ui->ipEdit->font()).height() ;
|
||||
ui->ipEdit->setToolTip("This is a Hidden node - you need tor/i2p proxy to connect");
|
||||
ui->ipLabel->setPixmap(QPixmap(":/images/anonymous_128_blue.png").scaledToHeight(S*2,Qt::SmoothTransformation));
|
||||
ui->ipLabel->setToolTip("This is a Hidden node - you need tor/i2p proxy to connect");
|
||||
}
|
||||
}
|
||||
break;
|
||||
case Page_FriendRequest:
|
||||
|
Loading…
Reference in New Issue
Block a user