Changeset View
Changeset View
Standalone View
Standalone View
src/qt/optionsdialog.cpp
Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Lines | connect(ui->connectSocksTor, &QPushButton::toggled, ui->proxyPortTor, | ||||
&QWidget::setEnabled); | &QWidget::setEnabled); | ||||
connect(ui->connectSocksTor, &QPushButton::toggled, this, | connect(ui->connectSocksTor, &QPushButton::toggled, this, | ||||
&OptionsDialog::updateProxyValidationState); | &OptionsDialog::updateProxyValidationState); | ||||
/* Window elements init */ | /* Window elements init */ | ||||
#ifdef Q_OS_MAC | #ifdef Q_OS_MAC | ||||
/* remove Window tab on Mac */ | /* remove Window tab on Mac */ | ||||
ui->tabWidget->removeTab(ui->tabWidget->indexOf(ui->tabWindow)); | ui->tabWidget->removeTab(ui->tabWidget->indexOf(ui->tabWindow)); | ||||
/* hide launch at startup option on macOS */ | |||||
ui->bitcoinAtStartup->setVisible(false); | |||||
ui->verticalLayout_Main->removeWidget(ui->bitcoinAtStartup); | |||||
ui->verticalLayout_Main->removeItem(ui->horizontalSpacer_0_Main); | |||||
#endif | #endif | ||||
/* remove Wallet tab in case of -disablewallet */ | /* remove Wallet tab in case of -disablewallet */ | ||||
if (!enableWallet) { | if (!enableWallet) { | ||||
ui->tabWidget->removeTab(ui->tabWidget->indexOf(ui->tabWallet)); | ui->tabWidget->removeTab(ui->tabWidget->indexOf(ui->tabWallet)); | ||||
} | } | ||||
/* Display elements init */ | /* Display elements init */ | ||||
▲ Show 20 Lines • Show All 337 Lines • Show Last 20 Lines |