mirror of
https://github.com/lubosz/overte.git
synced 2025-04-14 03:06:20 +02:00
make home go to DEFAULT_HIFI_ADDRESS by default
This commit is contained in:
parent
829a8a533e
commit
d87adcec92
1 changed files with 1 additions and 2 deletions
|
@ -58,9 +58,8 @@ void AddressBarDialog::loadHome() {
|
|||
qDebug() << "Called LoadHome";
|
||||
auto locationBookmarks = DependencyManager::get<LocationBookmarks>();
|
||||
QString homeLocation = locationBookmarks->addressForBookmark(LocationBookmarks::HOME_BOOKMARK);
|
||||
const QString DEFAULT_HOME_LOCATION = "localhost";
|
||||
if (homeLocation == "") {
|
||||
homeLocation = DEFAULT_HOME_LOCATION;
|
||||
homeLocation = DEFAULT_HIFI_ADDRESS;
|
||||
}
|
||||
DependencyManager::get<AddressManager>()->handleLookupString(homeLocation);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue