fix: save meta custom url as string, not QUrl (#1114)

This commit is contained in:
Tayou 2023-06-06 20:25:29 +02:00 committed by GitHub
commit f3a7de6b76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -177,7 +177,7 @@ void APIPage::applySettings()
metaURL.setScheme("https"); metaURL.setScheme("https");
} }
s->set("MetaURLOverride", metaURL); s->set("MetaURLOverride", metaURL.toString());
QString flameKey = ui->flameKey->text(); QString flameKey = ui->flameKey->text();
s->set("FlameKeyOverride", flameKey); s->set("FlameKeyOverride", flameKey);
QString modrinthToken = ui->modrinthToken->text(); QString modrinthToken = ui->modrinthToken->text();