mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 18:44:00 +02:00
remove unneeded stuff.
This commit is contained in:
parent
f683a51ef5
commit
c0b13c06d6
1 changed files with 1 additions and 2 deletions
|
@ -166,7 +166,7 @@ void AddressManager::storeCurrentAddress() {
|
|||
if (isInErrorState) {
|
||||
// save the last address visited before the problem url.
|
||||
currentAddressHandle.set(lastAddress());
|
||||
} else {
|
||||
} else {
|
||||
currentAddressHandle.set(url);
|
||||
}
|
||||
} else {
|
||||
|
@ -824,7 +824,6 @@ bool AddressManager::setDomainInfo(const QUrl& domainURL, LookupTrigger trigger)
|
|||
bool emitHostChanged { false };
|
||||
// Check if domain handler is in error state. always emit host changed if true.
|
||||
bool isInErrorState = DependencyManager::get<NodeList>()->getDomainHandler().isInErrorState();
|
||||
// Check if domain handler is in login screen state. always emit host changed if true.
|
||||
|
||||
if (domainURL != _domainURL || isInErrorState) {
|
||||
addCurrentAddressToHistory(trigger);
|
||||
|
|
Loading…
Reference in a new issue