Merge pull request #1476 from Scrumplex/fix-saving-metaurl
This commit is contained in:
commit
f561e7febf
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user