Update ConnectionInfoWidget.cpp

This commit is contained in:
QxQ 2020-07-10 10:42:07 +08:00 committed by Qv2ray-dev
parent 3e1d70f7c1
commit 73eb981e20
No known key found for this signature in database
GPG Key ID: E7FAEFAFCD031D4B

View File

@ -100,7 +100,7 @@ void ConnectionInfoWidget::ShowDetails(const ConnectionGroupPair &_identifier)
QStringList shareLinks;
for (const auto &connection : ConnectionManager->Connections(groupId))
{
shareLinks << ConvertConfigToString({ connection, groupId }, false);
shareLinks << ConvertConfigToString({ connection, groupId }, !GlobelConfig.uiConfig.useOldShareLinkFormat);
}
//
auto complexCount = shareLinks.removeAll(QV2RAY_SERIALIZATION_COMPLEX_CONFIG_PLACEHOLDER);