diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-07-07 19:25:12 +0200 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2023-07-07 19:25:12 +0200 |
commit | 51e62761ee8e8cd868c5f2a7eb63d54de5b71d6a (patch) | |
tree | f035df2cb9f6bc37e1bfba664b07578799bf4c5b /launcher/ui/pages/global | |
parent | 6fcdac0d36865eadc2454244ce03c77e6eed767b (diff) | |
download | PrismLauncher-51e62761ee8e8cd868c5f2a7eb63d54de5b71d6a.tar.gz PrismLauncher-51e62761ee8e8cd868c5f2a7eb63d54de5b71d6a.tar.bz2 PrismLauncher-51e62761ee8e8cd868c5f2a7eb63d54de5b71d6a.zip |
fix: improve QUrl construction
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'launcher/ui/pages/global')
-rw-r--r-- | launcher/ui/pages/global/APIPage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/pages/global/APIPage.cpp b/launcher/ui/pages/global/APIPage.cpp index fab31dbd..668aa007 100644 --- a/launcher/ui/pages/global/APIPage.cpp +++ b/launcher/ui/pages/global/APIPage.cpp @@ -165,7 +165,7 @@ void APIPage::applySettings() QString msaClientID = ui->msaClientID->text(); s->set("MSAClientIDOverride", msaClientID); - QUrl metaURL = ui->metaURL->text(); + QUrl metaURL(ui->metaURL->text()); // Add required trailing slash if (!metaURL.isEmpty() && !metaURL.path().endsWith('/')) { |