mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 17:30:37 +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) {
|
if (isInErrorState) {
|
||||||
// save the last address visited before the problem url.
|
// save the last address visited before the problem url.
|
||||||
currentAddressHandle.set(lastAddress());
|
currentAddressHandle.set(lastAddress());
|
||||||
} else {
|
} else {
|
||||||
currentAddressHandle.set(url);
|
currentAddressHandle.set(url);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -824,7 +824,6 @@ bool AddressManager::setDomainInfo(const QUrl& domainURL, LookupTrigger trigger)
|
||||||
bool emitHostChanged { false };
|
bool emitHostChanged { false };
|
||||||
// Check if domain handler is in error state. always emit host changed if true.
|
// Check if domain handler is in error state. always emit host changed if true.
|
||||||
bool isInErrorState = DependencyManager::get<NodeList>()->getDomainHandler().isInErrorState();
|
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) {
|
if (domainURL != _domainURL || isInErrorState) {
|
||||||
addCurrentAddressToHistory(trigger);
|
addCurrentAddressToHistory(trigger);
|
||||||
|
|
Loading…
Reference in a new issue