TorInfoDialog: assume PLATFORM_INSTALLER has Tor

This commit is contained in:
tobtoht 2022-07-08 12:05:57 +02:00
parent 4990ca09c3
commit b59d23105c
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C

View file

@ -56,7 +56,7 @@ TorInfoDialog::TorInfoDialog(QSharedPointer<AppContext> ctx, QWidget *parent)
ui->btn_configureInitSync->setIcon(icons()->icon("preferences.svg")); ui->btn_configureInitSync->setIcon(icons()->icon("preferences.svg"));
connect(ui->btn_configureInitSync, &QPushButton::clicked, this, &TorInfoDialog::onShowInitSyncConfigDialog); 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->setChecked(true);
ui->check_useLocalTor->setEnabled(false); ui->check_useLocalTor->setEnabled(false);
ui->check_useLocalTor->setToolTip("Feather was bundled without Tor"); ui->check_useLocalTor->setToolTip("Feather was bundled without Tor");