mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-18 21:14:37 +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);
|
ui->network->removeItem(0);
|
||||||
|
|
||||||
|
if (IS_NEKO_BOX) {
|
||||||
|
ui->network->addItem("httpupgrade");
|
||||||
|
}
|
||||||
|
|
||||||
// security changed
|
// security changed
|
||||||
connect(ui->security, &QComboBox::currentTextChanged, this, [=](const QString &txt) {
|
connect(ui->security, &QComboBox::currentTextChanged, this, [=](const QString &txt) {
|
||||||
if (txt == "tls") {
|
if (txt == "tls") {
|
||||||
|
|||||||
@@ -260,11 +260,6 @@
|
|||||||
<string notr="true">quic</string>
|
<string notr="true">quic</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<property name="text">
|
|
||||||
<string notr="true">httpupgrade</string>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="2" column="1">
|
<item row="2" column="1">
|
||||||
|
|||||||
Reference in New Issue
Block a user