feat: resolve profile domain

This commit is contained in:
arm64v8a
2022-09-22 22:26:39 +08:00
parent 3f0081b930
commit 0ca3e20824
11 changed files with 101 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ namespace NekoRay::fmt {
QString DisplayInsecureHint(const QSharedPointer<AbstractBean> &bean) {
if (!dataStore->insecure_hint) return {};
auto insecure_hint = bean->InsecureHint();
auto stream = GetStreamSettings(bean);
auto stream = GetStreamSettings(bean.data());
if (stream != nullptr) insecure_hint += "\n" + stream->InsecureHint();
return insecure_hint.trimmed();
}