mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 21:45:15 +02:00
save non hifi domain urls to settings
This commit is contained in:
parent
ed5b28aa2a
commit
10935f2cc2
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue