mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
refactor: only show httpupgrade on nekobox
This commit is contained in:
@@ -89,6 +89,10 @@ DialogEditProfile::DialogEditProfile(const QString &_type, int profileOrGroupId,
|
||||
});
|
||||
ui->network->removeItem(0);
|
||||
|
||||
if (IS_NEKO_BOX) {
|
||||
ui->network->addItem("httpupgrade");
|
||||
}
|
||||
|
||||
// security changed
|
||||
connect(ui->security, &QComboBox::currentTextChanged, this, [=](const QString &txt) {
|
||||
if (txt == "tls") {
|
||||
|
||||
Reference in New Issue
Block a user