format code

This commit is contained in:
arm64v8a
2023-05-06 18:00:48 +09:00
parent f53d0aba47
commit 289b67b67b
4 changed files with 5 additions and 6 deletions

View File

@@ -96,7 +96,7 @@ namespace NekoRay::traffic {
} }
continue; continue;
} else { } else {
//开始 // 开始
if (!looping) { if (!looping) {
looping = true; looping = true;
} }

View File

@@ -15,8 +15,8 @@ namespace NekoRay {
struct GroupSortAction { struct GroupSortAction {
GroupSortMethod::GroupSortMethod method = GroupSortMethod::Raw; GroupSortMethod::GroupSortMethod method = GroupSortMethod::Raw;
bool save_sort = false; //保存到文件 bool save_sort = false; // 保存到文件
bool descending = false; //默认升序,开这个就是降序 bool descending = false; // 默认升序,开这个就是降序
bool scroll_to_started = false; bool scroll_to_started = false;
}; };
} // namespace NekoRay } // namespace NekoRay

View File

@@ -25,7 +25,6 @@ public slots:
void accept() override; void accept() override;
void on_troubleshooting_clicked(); void on_troubleshooting_clicked();
}; };
#endif // NEKORAY_DIALOG_VPN_SETTINGS_H #endif // NEKORAY_DIALOG_VPN_SETTINGS_H

View File

@@ -26,10 +26,10 @@ EditCustom::~EditCustom() {
} }
#define SAVE_CUSTOM_BEAN \ #define SAVE_CUSTOM_BEAN \
P_SAVE_COMBO_STRING(core) \ P_SAVE_COMBO_STRING(core) \
bean->command = ui->command->text().split(" "); \ bean->command = ui->command->text().split(" "); \
P_SAVE_STRING_QTEXTEDIT(config_simple) \ 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(mapping_port) \
P_SAVE_INT(socks_port) P_SAVE_INT(socks_port)