mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-18 04:54:38 +03:00
delete insecure hint
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user