Showing the changes to interface/src/Application.cpp (1 of 16 files). Show all
Unified · Split
| @@ -462,6 +462,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) : · 461 unmodified lines | ||
| 462 | 462 | addressManager->setOrientationGetter(getOrientationForPath); |
| 463 | 463 | |
| 464 | 464 | connect(addressManager.data(), &AddressManager::rootPlaceNameChanged, this, &Application::updateWindowTitle); |
| 465 | + connect(this, &QCoreApplication::aboutToQuit, addressManager.data(), &AddressManager::storeCurrentAddress); | |
| 465 | 466 | |
| 466 | 467 | #ifdef _WIN32 |
| 467 | 468 | WSADATA WsaData; |