fix: resolved #777

This commit is contained in:
QwQ 2020-07-14 00:53:33 +08:00
parent e58fecaeab
commit 93cb434765
No known key found for this signature in database
GPG Key ID: E7FAEFAFCD031D4B
2 changed files with 4 additions and 3 deletions

View File

@ -1 +1 @@
5778 5779

View File

@ -616,7 +616,8 @@ namespace Qv2ray::core::handler
filteredConnections.count() > 5 || filteredConnections.count() > 5 ||
QvMessageBoxAsk(nullptr, tr("Update Subscription"), QvMessageBoxAsk(nullptr, tr("Update Subscription"),
tr("%1 out of %n entrie(s) have been filtered out, do you want to continue?", "", _newConnections.count()) tr("%1 out of %n entrie(s) have been filtered out, do you want to continue?", "", _newConnections.count())
.arg(filteredConnections.count())) == QMessageBox::Yes; .arg(filteredConnections.count()) +
NEWLINE + GetDisplayName(id)) == QMessageBox::Yes;
for (const auto &config : useFilteredConnections ? filteredConnections : _newConnections) for (const auto &config : useFilteredConnections ? filteredConnections : _newConnections)
{ {
@ -666,7 +667,7 @@ namespace Qv2ray::core::handler
tr("Update Subscription"), tr("Update Subscription"),
tr("There're %n connection(s) in the group that do not belong the current subscription (any more).", "", tr("There're %n connection(s) in the group that do not belong the current subscription (any more).", "",
originalConnectionIdList.count()) + originalConnectionIdList.count()) +
NEWLINE + tr("Would you like to remove them?")) == QMessageBox::Yes; NEWLINE + GetDisplayName(id) + NEWLINE + tr("Would you like to remove them?")) == QMessageBox::Yes;
if (needContinue) if (needContinue)
{ {
LOG(MODULE_CORE_HANDLER, "Removed old connections not have been matched.") LOG(MODULE_CORE_HANDLER, "Removed old connections not have been matched.")