Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -370,15 +370,11 @@ Application::~Application() { · 369 unmodified lines | ||
| 370 | 370 | // make sure we don't call the idle timer any more |
| 371 | 371 | delete idleTimer; |
| 372 | 372 | |
| 373 | − Menu::getInstance()->saveSettings(); | |
| 374 | − _rearMirrorTools->saveSettings(_settings); | |
| 375 | − | |
| 376 | 373 | _sharedVoxelSystem.changeTree(new VoxelTree); |
| 377 | − if (_voxelImporter) { | |
| 378 | − _voxelImporter->saveSettings(_settings); | |
| 379 | − delete _voxelImporter; | |
| 380 | − } | |
| 381 | − _settings->sync(); | |
| 374 | + | |
| 375 | + saveSettings(); | |
| 376 | + | |
| 377 | + delete _voxelImporter; | |
| 382 | 378 | |
| 383 | 379 | // let the avatar mixer know we're out |
| 384 | 380 | MyAvatar::sendKillAvatar(); |