move SIP008 before Base64 in the subscription type list

This commit is contained in:
QxQ 2021-02-08 00:38:25 +08:00
parent f3d22acb72
commit 4ba05faf02
3 changed files with 5 additions and 5 deletions

View File

@ -1 +1 @@
6141
6142

View File

@ -41,9 +41,9 @@ class BuiltinSubscriptionAdapterInterface : public SubscriptionInterface
QList<Qv2rayPlugin::ProtocolInfoObject> SupportedSubscriptionTypes() const override
{
// "simple_base64" = magic value in Qv2ray main application
return { //
ProtocolInfoObject{ "simple_base64", "Basic Base64" }, //
ProtocolInfoObject{ "sip008", "SIP008" }
return {
ProtocolInfoObject{ "sip008", "SIP008" }, //
ProtocolInfoObject{ "simple_base64", "Basic Base64" } //
};
}

View File

@ -52,7 +52,7 @@ GroupManager::GroupManager(QWidget *parent) : QvDialog("GroupManager", parent)
const auto types = subscriptionAdapterInterface->SupportedSubscriptionTypes();
for (const auto &type : types)
{
subscriptionTypeCB->addItem(type.displayName, type.protocol);
subscriptionTypeCB->addItem(pluginInfo->metadata.Name + ": " + type.displayName, type.protocol);
}
}