delete insecure hint

This commit is contained in:
arm64v8a
2023-04-24 14:21:06 +09:00
parent 923f15e69c
commit bc9c5799b1
16 changed files with 8 additions and 122 deletions

View File

@@ -248,7 +248,6 @@ DialogBasicSettings::DialogBasicSettings(QWidget *parent)
ui->utlsFingerprint->addItems(IS_NEKO_BOX ? Preset::SingBox::UtlsFingerPrint : Preset::V2Ray::UtlsFingerPrint);
D_LOAD_BOOL(insecure_hint)
D_LOAD_BOOL(skip_cert)
ui->enable_js_hook->setCurrentIndex(NekoRay::dataStore->enable_js_hook);
ui->utlsFingerprint->setCurrentText(NekoRay::dataStore->utlsFingerprint);
@@ -304,7 +303,6 @@ void DialogBasicSettings::accept() {
// Security
D_SAVE_BOOL(insecure_hint)
D_SAVE_BOOL(skip_cert)
NekoRay::dataStore->enable_js_hook = ui->enable_js_hook->currentIndex();
NekoRay::dataStore->utlsFingerprint = ui->utlsFingerprint->currentText();

View File

@@ -663,13 +663,6 @@
<string>Security</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QCheckBox" name="insecure_hint">
<property name="text">
<string>Insecure hint</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="skip_cert">
<property name="text">

View File

@@ -933,11 +933,6 @@ void MainWindow::refresh_proxy_list_impl_refresh_data(const int &id) {
// C0: Type
auto f = f0->clone();
f->setText(profile->bean->DisplayType());
auto insecure_hint = profile->bean->DisplayInsecureHint();
if (!insecure_hint.isEmpty()) {
f->setBackground(Qt::red);
f->setToolTip(insecure_hint);
}
ui->proxyListTable->setItem(row, 0, f);
// C1: Address+Port

View File

@@ -216,8 +216,6 @@ void MainWindow::neko_start(int _id) {
if (NekoRay::dataStore->started_id >= 0) neko_stop();
show_log_impl(">>>>>>>> " + tr("Starting profile %1").arg(ent->bean->DisplayTypeAndName()));
auto insecure_hint = ent->bean->DisplayInsecureHint();
if (!insecure_hint.isEmpty()) show_log_impl(">>>>>>>> " + tr("Profile is insecure: %1").arg(insecure_hint));
#ifndef NKR_NO_GRPC
libcore::LoadConfigReq req;