Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -546,6 +546,8 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer) : · 545 unmodified lines | ||
| 546 | 546 | |
| 547 | 547 | auto discoverabilityManager = DependencyManager::get<DiscoverabilityManager>(); |
| 548 | 548 | connect(&locationUpdateTimer, &QTimer::timeout, discoverabilityManager.data(), &DiscoverabilityManager::updateLocation); |
| 549 | + connect(&locationUpdateTimer, &QTimer::timeout, | |
| 550 | + DependencyManager::get<AddressManager>().data(), &AddressManager::storeCurrentAddress); | |
| 549 | 551 | locationUpdateTimer.start(DATA_SERVER_LOCATION_CHANGE_UPDATE_MSECS); |
| 550 | 552 | |
| 551 | 553 | // if we get a domain change, immediately attempt update location in metaverse server |