mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
format code
This commit is contained in:
@@ -96,7 +96,7 @@ namespace NekoRay::traffic {
|
|||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
} else {
|
} else {
|
||||||
//开始
|
// 开始
|
||||||
if (!looping) {
|
if (!looping) {
|
||||||
looping = true;
|
looping = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user