feat: remember splitter state

This commit is contained in:
arm64v8a
2023-03-25 14:52:41 +09:00
parent 180a764977
commit cb2fabd11c
6 changed files with 12 additions and 6 deletions

View File

@@ -72,7 +72,7 @@ namespace NekoRay::sub {
if (ent->bean->version == -114514) return;
auto j = DecodeB64IfValid(link.fragment().toUtf8(), QByteArray::Base64UrlEncoding);
if (j.isEmpty()) return;
ent->bean->FromJsonBytes(j.toUtf8());
ent->bean->FromJsonBytes(j);
MW_show_log("nekoray format: " + ent->bean->DisplayTypeAndName());
}