mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 19:00:22 +08:00
fix: fixed connection issue 2
This commit is contained in:
parent
7963f03f55
commit
74f40f0775
@ -1 +1 @@
|
|||||||
5403
|
5404
|
||||||
|
@ -320,17 +320,7 @@ namespace Qv2ray::core::handlers
|
|||||||
auto list = groups[id].connections;
|
auto list = groups[id].connections;
|
||||||
for (const auto &conn : list)
|
for (const auto &conn : list)
|
||||||
{
|
{
|
||||||
LinkConnectionWithGroup(conn, DefaultGroupId);
|
MoveConnectionFromToGroup(conn, id, DefaultGroupId);
|
||||||
}
|
|
||||||
//
|
|
||||||
// TODO
|
|
||||||
if (groups[id].isSubscription)
|
|
||||||
{
|
|
||||||
// QDir(QV2RAY_SUBSCRIPTION_DIR + id.toString()).removeRecursively();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
QFile(QV2RAY_CONNECTIONS_DIR + id.toString()).remove();
|
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
PluginHost->Send_ConnectionEvent({ Events::ConnectionEntry::FullyRemoved, groups[id].displayName, "" });
|
PluginHost->Send_ConnectionEvent({ Events::ConnectionEntry::FullyRemoved, groups[id].displayName, "" });
|
||||||
|
Loading…
Reference in New Issue
Block a user