parse hysteria share link

This commit is contained in:
arm64v8a
2022-08-13 14:09:21 +08:00
parent 6931b4c8e1
commit 38e51be766
7 changed files with 52 additions and 20 deletions

View File

@@ -48,7 +48,7 @@ void EditCustom::onStart(QSharedPointer<NekoRay::ProxyEntity> _ent) {
// Generators
if (bean->core == "hysteria") {
ui->generator->setVisible(true);
auto genHy = new GenHysteria(ent, preset_config);
auto genHy = new GenHysteria(ent);
ui->generator->layout()->addWidget(genHy);
connect(genHy, &GenHysteria::config_generated, this, [=](const QString &result) {
ui->config_simple->setText(result);