diff --git a/makespec/BUILDVERSION b/makespec/BUILDVERSION index 597adfa6..1db59029 100644 --- a/makespec/BUILDVERSION +++ b/makespec/BUILDVERSION @@ -1 +1 @@ -5403 \ No newline at end of file +5404 diff --git a/src/core/handler/ConfigHandler.cpp b/src/core/handler/ConfigHandler.cpp index 698b3865..b0769eac 100644 --- a/src/core/handler/ConfigHandler.cpp +++ b/src/core/handler/ConfigHandler.cpp @@ -320,17 +320,7 @@ namespace Qv2ray::core::handlers auto list = groups[id].connections; for (const auto &conn : list) { - LinkConnectionWithGroup(conn, DefaultGroupId); - } - // - // TODO - if (groups[id].isSubscription) - { - // QDir(QV2RAY_SUBSCRIPTION_DIR + id.toString()).removeRecursively(); - } - else - { - QFile(QV2RAY_CONNECTIONS_DIR + id.toString()).remove(); + MoveConnectionFromToGroup(conn, id, DefaultGroupId); } // PluginHost->Send_ConnectionEvent({ Events::ConnectionEntry::FullyRemoved, groups[id].displayName, "" });