save non hifi domain urls to settings

This commit is contained in:
Seth Alves 2018-02-16 17:31:23 -08:00
parent ed5b28aa2a
commit 10935f2cc2

View file

@ -152,8 +152,8 @@ void AddressManager::goForward() {
void AddressManager::storeCurrentAddress() {
auto url = currentAddress();
if (!url.host().isEmpty()) {
if (url.scheme() == "file" || url.scheme() == "http" || url.scheme() == "https" || !url.host().isEmpty()) {
currentAddressHandle.set(url);
} else {
qCWarning(networking) << "Ignoring attempt to save current address with an empty host" << url;