save meta custom url as string, not QUrl

Signed-off-by: Tayou <tayou@gmx.net>
This commit is contained in:
Tayou 2023-06-06 18:15:26 +02:00
parent 3a068970f9
commit e884341795
No known key found for this signature in database
GPG Key ID: 02CA43C1CB6E9887

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();