aboutsummaryrefslogtreecommitdiff
path: root/launcher
diff options
context:
space:
mode:
Diffstat (limited to 'launcher')
-rw-r--r--launcher/Application.cpp2
-rw-r--r--launcher/ui/pages/global/APIPage.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/launcher/Application.cpp b/launcher/Application.cpp
index 34e1320a..7858d713 100644
--- a/launcher/Application.cpp
+++ b/launcher/Application.cpp
@@ -691,7 +691,7 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv)
// Meta URL
m_settings->registerSetting("MetaURLOverride", "");
- QUrl metaUrl = m_settings->get("MetaURLOverride").toString();
+ QUrl metaUrl(m_settings->get("MetaURLOverride").toString());
// get rid of invalid meta urls
if (!metaUrl.isValid() || metaUrl.scheme() != "http" || metaUrl.scheme() != "https")
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('/'))
{