added check after starting TorManager

This commit is contained in:
csoler 2018-01-20 17:10:47 +01:00
parent 15decacc0d
commit 0112cf23e5
6 changed files with 27 additions and 24 deletions

View file

@ -76,7 +76,11 @@ void TorControlDialog::statusChanged()
}
torStatus_LB->setText(torstatus_str) ;
//torStatus_LB->setText(tor_control_status_str) ;
if(torstatus == Tor::TorControl::TorUnknown)
torStatus_LB->setToolTip(tr("Check that Tor is accessible in your executable path")) ;
else
torStatus_LB->setToolTip("") ;
QVariantMap qvm = mTorManager->control()->bootstrapStatus();
QString bootstrapstatus_str ;