mirror of
https://github.com/overte-org/overte.git
synced 2025-06-27 22:50:25 +02:00
Merge pull request #13024 from birarda/bug/home-to-serverless
66.2: make home go to DEFAULT_HIFI_ADDRESS by default
This commit is contained in:
commit
ceabe9aed7
1 changed files with 1 additions and 2 deletions
|
@ -58,9 +58,8 @@ void AddressBarDialog::loadHome() {
|
||||||
qDebug() << "Called LoadHome";
|
qDebug() << "Called LoadHome";
|
||||||
auto locationBookmarks = DependencyManager::get<LocationBookmarks>();
|
auto locationBookmarks = DependencyManager::get<LocationBookmarks>();
|
||||||
QString homeLocation = locationBookmarks->addressForBookmark(LocationBookmarks::HOME_BOOKMARK);
|
QString homeLocation = locationBookmarks->addressForBookmark(LocationBookmarks::HOME_BOOKMARK);
|
||||||
const QString DEFAULT_HOME_LOCATION = "localhost";
|
|
||||||
if (homeLocation == "") {
|
if (homeLocation == "") {
|
||||||
homeLocation = DEFAULT_HOME_LOCATION;
|
homeLocation = DEFAULT_HIFI_ADDRESS;
|
||||||
}
|
}
|
||||||
DependencyManager::get<AddressManager>()->handleLookupString(homeLocation);
|
DependencyManager::get<AddressManager>()->handleLookupString(homeLocation);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue