mirror of
https://git.wownero.com/wowlet/wowlet.git
synced 2024-08-15 01:03:14 +00:00
Merge pull request 'DebugInfoDialog: improve Tor status on Tails' (#211) from tobtoht/feather:tails_debug_info into master
Reviewed-on: https://git.wownero.com/feather/feather/pulls/211
This commit is contained in:
commit
743c5fa9a4
1 changed files with 9 additions and 1 deletions
|
@ -27,7 +27,15 @@ DebugInfoDialog::DebugInfoDialog(AppContext *ctx, QWidget *parent)
|
||||||
|
|
||||||
void DebugInfoDialog::updateInfo() {
|
void DebugInfoDialog::updateInfo() {
|
||||||
QString torStatus;
|
QString torStatus;
|
||||||
if(m_ctx->isTorSocks)
|
|
||||||
|
// Special case for Tails because we know the status of the daemon by polling tails-tor-has-bootstrapped.target
|
||||||
|
if(m_ctx->isTails) {
|
||||||
|
if(m_ctx->tor->torConnected)
|
||||||
|
torStatus = "Connected";
|
||||||
|
else
|
||||||
|
torStatus = "Disconnected";
|
||||||
|
}
|
||||||
|
else if(m_ctx->isTorSocks)
|
||||||
torStatus = "Torsocks";
|
torStatus = "Torsocks";
|
||||||
else if(m_ctx->tor->localTor)
|
else if(m_ctx->tor->localTor)
|
||||||
torStatus = "Local (assumed to be running)";
|
torStatus = "Local (assumed to be running)";
|
||||||
|
|
Loading…
Reference in a new issue