From b59d23105cd7abde457597a672fec43d4c256ea7 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Fri, 8 Jul 2022 12:05:57 +0200 Subject: [PATCH] TorInfoDialog: assume PLATFORM_INSTALLER has Tor --- src/dialog/TorInfoDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialog/TorInfoDialog.cpp b/src/dialog/TorInfoDialog.cpp index f074960..1e24f6b 100644 --- a/src/dialog/TorInfoDialog.cpp +++ b/src/dialog/TorInfoDialog.cpp @@ -56,7 +56,7 @@ TorInfoDialog::TorInfoDialog(QSharedPointer ctx, QWidget *parent) ui->btn_configureInitSync->setIcon(icons()->icon("preferences.svg")); connect(ui->btn_configureInitSync, &QPushButton::clicked, this, &TorInfoDialog::onShowInitSyncConfigDialog); -#ifndef HAS_TOR_BIN +#if !defined(HAS_TOR_BIN) && !defined(PLATFORM_INSTALLER) ui->check_useLocalTor->setChecked(true); ui->check_useLocalTor->setEnabled(false); ui->check_useLocalTor->setToolTip("Feather was bundled without Tor");