added auto-test of saved onion address for FS

This commit is contained in:
csoler 2022-10-28 11:41:41 +02:00
parent 4d386e9cf1
commit 666f01452b

View File

@ -82,8 +82,6 @@ FriendServerControl::FriendServerControl(QWidget *parent)
// Init values
whileBlocking(torServerFriendsToRequest_SB)->setValue(rsFriendServer->friendsToRequest());
whileBlocking(torServerAddress_LE)->setText(QString::fromStdString(rsFriendServer->friendsServerAddress().c_str()));
whileBlocking(torServerPort_SB)->setValue(rsFriendServer->friendsServerPort());
// Connect slignals/slots
@ -98,6 +96,10 @@ FriendServerControl::FriendServerControl(QWidget *parent)
mCheckingServerMovie = new QMovie(":/images/loader/circleball-16.gif");
// Do not block signal for these two, since we want to trigger a test to initialise the online status.
torServerAddress_LE->setText(QString::fromStdString(rsFriendServer->friendsServerAddress().c_str()));
torServerPort_SB->setValue(rsFriendServer->friendsServerPort());
updateFriendServerStatusIcon(false);
makeFriend_ACT = new QAction(tr("Make friend")); // makes SSL-only friend with the peer