NetworkProxyWidget: set proxy host

This commit is contained in:
tobtoht 2023-03-16 15:01:08 +01:00
parent 35dac82f6a
commit e3e25e8536
No known key found for this signature in database
GPG key ID: E45B10DD027D2472

View file

@ -33,6 +33,7 @@ NetworkProxyWidget::NetworkProxyWidget(QWidget *parent)
ui->groupBox_proxySettings->setTitle(QString("%1 settings").arg(ui->comboBox_proxy->currentText())); ui->groupBox_proxySettings->setTitle(QString("%1 settings").arg(ui->comboBox_proxy->currentText()));
// [Host] // [Host]
ui->line_host->setText(config()->get(Config::socks5Host).toString());
connect(ui->line_host, &QLineEdit::textChanged, this, &NetworkProxyWidget::onProxySettingsChanged); connect(ui->line_host, &QLineEdit::textChanged, this, &NetworkProxyWidget::onProxySettingsChanged);
// [Port] // [Port]