mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
minor refactor
This commit is contained in:
@@ -11,13 +11,13 @@ EditTrojanVLESS::~EditTrojanVLESS() {
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void EditTrojanVLESS::onStart(QSharedPointer<NekoRay::ProxyEntity> _ent) {
|
||||
void EditTrojanVLESS::onStart(std::shared_ptr<NekoGui::ProxyEntity> _ent) {
|
||||
this->ent = _ent;
|
||||
auto bean = this->ent->TrojanVLESSBean();
|
||||
if (bean->proxy_type == NekoRay::fmt::TrojanVLESSBean::proxy_VLESS) {
|
||||
if (bean->proxy_type == NekoGui_fmt::TrojanVLESSBean::proxy_VLESS) {
|
||||
ui->label->setText("UUID");
|
||||
}
|
||||
if (!IS_NEKO_BOX || bean->proxy_type != NekoRay::fmt::TrojanVLESSBean::proxy_VLESS) {
|
||||
if (!IS_NEKO_BOX || bean->proxy_type != NekoGui_fmt::TrojanVLESSBean::proxy_VLESS) {
|
||||
ui->flow->hide();
|
||||
ui->flow_l->hide();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user