chore: re-format code

This commit is contained in:
arm64v8a
2022-11-18 14:20:30 +09:00
parent deab99af73
commit 62c236f0d5
97 changed files with 1129 additions and 1331 deletions

View File

@@ -67,7 +67,7 @@ namespace NekoRay {
int test_concurrent = 5;
int traffic_loop_interval = 500;
bool connection_statistics = false;
int current_group = 0; //group id
int current_group = 0; // group id
int mux_cool = -8;
QString theme = "0";
QString v2ray_asset_dir = "";
@@ -137,8 +137,8 @@ namespace NekoRay {
inline int coreType = NekoRay::CoreType::V2RAY;
}
} // namespace NekoRay
#define IS_NEKO_BOX (NekoRay::coreType == NekoRay::CoreType::SING_BOX)
#define ROUTES_PREFIX_NAME QString( IS_NEKO_BOX ? "routes_box" : "routes" )
#define ROUTES_PREFIX QString( ROUTES_PREFIX_NAME + "/" )
#define ROUTES_PREFIX_NAME QString(IS_NEKO_BOX ? "routes_box" : "routes")
#define ROUTES_PREFIX QString(ROUTES_PREFIX_NAME + "/")