aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-08-02 19:24:24 +0200
committerGitHub <noreply@github.com>2023-08-02 19:24:24 +0200
commitf561e7febfdbc7124dc27804dfc3c6e90553803e (patch)
treebc4e1ea4e478ea0a4c9132ecd6e450eb44f6df9b
parentea56ff255d42a0bb4aadfe834fcc1a91c305f8f4 (diff)
parent39d4f0df66c2981c20e897416db2e8b551c52f03 (diff)
downloadPrismLauncher-f561e7febfdbc7124dc27804dfc3c6e90553803e.tar.gz
PrismLauncher-f561e7febfdbc7124dc27804dfc3c6e90553803e.tar.bz2
PrismLauncher-f561e7febfdbc7124dc27804dfc3c6e90553803e.zip
Merge pull request #1476 from Scrumplex/fix-saving-metaurl
-rw-r--r--launcher/Application.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/Application.cpp b/launcher/Application.cpp
index c594a297..b538fd23 100644
--- a/launcher/Application.cpp
+++ b/launcher/Application.cpp
@@ -710,7 +710,7 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv)
QUrl metaUrl(m_settings->get("MetaURLOverride").toString());
// get rid of invalid meta urls
- if (!metaUrl.isValid() || metaUrl.scheme() != "http" || metaUrl.scheme() != "https")
+ if (!metaUrl.isValid() || (metaUrl.scheme() != "http" && metaUrl.scheme() != "https"))
m_settings->reset("MetaURLOverride");
}