diff --git a/db/TrafficLooper.cpp b/db/TrafficLooper.cpp index 9f1aa90..09e69fb 100644 --- a/db/TrafficLooper.cpp +++ b/db/TrafficLooper.cpp @@ -96,7 +96,7 @@ namespace NekoRay::traffic { } continue; } else { - //开始 + // 开始 if (!looping) { looping = true; } diff --git a/ui/GroupSort.hpp b/ui/GroupSort.hpp index 2e8134d..3e4ca2a 100644 --- a/ui/GroupSort.hpp +++ b/ui/GroupSort.hpp @@ -15,8 +15,8 @@ namespace NekoRay { struct GroupSortAction { GroupSortMethod::GroupSortMethod method = GroupSortMethod::Raw; - bool save_sort = false; //保存到文件 - bool descending = false; //默认升序,开这个就是降序 + bool save_sort = false; // 保存到文件 + bool descending = false; // 默认升序,开这个就是降序 bool scroll_to_started = false; }; } // namespace NekoRay diff --git a/ui/dialog_vpn_settings.h b/ui/dialog_vpn_settings.h index b497207..0b5b87d 100644 --- a/ui/dialog_vpn_settings.h +++ b/ui/dialog_vpn_settings.h @@ -25,7 +25,6 @@ public slots: void accept() override; void on_troubleshooting_clicked(); - }; #endif // NEKORAY_DIALOG_VPN_SETTINGS_H diff --git a/ui/edit/edit_custom.cpp b/ui/edit/edit_custom.cpp index 479e79f..10de99b 100644 --- a/ui/edit/edit_custom.cpp +++ b/ui/edit/edit_custom.cpp @@ -26,10 +26,10 @@ EditCustom::~EditCustom() { } #define SAVE_CUSTOM_BEAN \ - P_SAVE_COMBO_STRING(core) \ + P_SAVE_COMBO_STRING(core) \ bean->command = ui->command->text().split(" "); \ P_SAVE_STRING_QTEXTEDIT(config_simple) \ - P_SAVE_COMBO_STRING(config_suffix) \ + P_SAVE_COMBO_STRING(config_suffix) \ P_SAVE_INT(mapping_port) \ P_SAVE_INT(socks_port)