mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-03-13 05:41:17 +00:00
Fix typo.
This commit is contained in:
parent
11b44407af
commit
aa1ddc0df2
@ -340,7 +340,7 @@ OptionsDialog::OptionsDialog(QWidget *parent)
|
|||||||
connect(m_ui->textTrackers, &QPlainTextEdit::textChanged, this, &ThisType::enableApplyButton);
|
connect(m_ui->textTrackers, &QPlainTextEdit::textChanged, this, &ThisType::enableApplyButton);
|
||||||
#ifndef DISABLE_WEBUI
|
#ifndef DISABLE_WEBUI
|
||||||
// Web UI tab
|
// Web UI tab
|
||||||
connect(m_ui->textSeverDomains, &QLineEdit::textChanged, this, &ThisType::enableApplyButton);
|
connect(m_ui->textServerDomains, &QLineEdit::textChanged, this, &ThisType::enableApplyButton);
|
||||||
connect(m_ui->checkWebUi, &QGroupBox::toggled, this, &ThisType::enableApplyButton);
|
connect(m_ui->checkWebUi, &QGroupBox::toggled, this, &ThisType::enableApplyButton);
|
||||||
connect(m_ui->spinWebUiPort, qSpinBoxValueChanged, this, &ThisType::enableApplyButton);
|
connect(m_ui->spinWebUiPort, qSpinBoxValueChanged, this, &ThisType::enableApplyButton);
|
||||||
connect(m_ui->checkWebUIUPnP, &QAbstractButton::toggled, this, &ThisType::enableApplyButton);
|
connect(m_ui->checkWebUIUPnP, &QAbstractButton::toggled, this, &ThisType::enableApplyButton);
|
||||||
@ -638,7 +638,7 @@ void OptionsDialog::saveOptions()
|
|||||||
// Web UI
|
// Web UI
|
||||||
pref->setWebUiEnabled(isWebUiEnabled());
|
pref->setWebUiEnabled(isWebUiEnabled());
|
||||||
if (isWebUiEnabled()) {
|
if (isWebUiEnabled()) {
|
||||||
pref->setServerDomains(m_ui->textSeverDomains->text());
|
pref->setServerDomains(m_ui->textServerDomains->text());
|
||||||
pref->setWebUiPort(webUiPort());
|
pref->setWebUiPort(webUiPort());
|
||||||
pref->setUPnPForWebUIPort(m_ui->checkWebUIUPnP->isChecked());
|
pref->setUPnPForWebUIPort(m_ui->checkWebUIUPnP->isChecked());
|
||||||
pref->setWebUiHttpsEnabled(m_ui->checkWebUiHttps->isChecked());
|
pref->setWebUiHttpsEnabled(m_ui->checkWebUiHttps->isChecked());
|
||||||
@ -1028,7 +1028,7 @@ void OptionsDialog::loadOptions()
|
|||||||
// End Bittorrent preferences
|
// End Bittorrent preferences
|
||||||
|
|
||||||
// Web UI preferences
|
// Web UI preferences
|
||||||
m_ui->textSeverDomains->setText(pref->getServerDomains());
|
m_ui->textServerDomains->setText(pref->getServerDomains());
|
||||||
m_ui->checkWebUi->setChecked(pref->isWebUiEnabled());
|
m_ui->checkWebUi->setChecked(pref->isWebUiEnabled());
|
||||||
m_ui->spinWebUiPort->setValue(pref->getWebUiPort());
|
m_ui->spinWebUiPort->setValue(pref->getWebUiPort());
|
||||||
m_ui->checkWebUIUPnP->setChecked(pref->useUPnPForWebUIPort());
|
m_ui->checkWebUIUPnP->setChecked(pref->useUPnPForWebUIPort());
|
||||||
|
@ -2720,7 +2720,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLineEdit" name="textSeverDomains">
|
<widget class="QLineEdit" name="textServerDomains">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Whitelist for filtering HTTP Host header values.
|
<string>Whitelist for filtering HTTP Host header values.
|
||||||
In order to defend against DNS rebinding attack,
|
In order to defend against DNS rebinding attack,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user