fix: don't reset meta url on launch
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
01d3eea379
commit
39d4f0df66
@ -713,7 +713,7 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv)
|
|||||||
QUrl metaUrl(m_settings->get("MetaURLOverride").toString());
|
QUrl metaUrl(m_settings->get("MetaURLOverride").toString());
|
||||||
|
|
||||||
// get rid of invalid meta urls
|
// 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");
|
m_settings->reset("MetaURLOverride");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user