Quit VRMode before aboutToQuit runs
Showing the changes to interface/src/Application.cpp (1 of 3 files). Show all
Unified · Split
| @@ -565,8 +565,9 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) : · 564 unmodified lines | ||
| 565 | 565 | } |
| 566 | 566 | |
| 567 | 567 | void Application::aboutToQuit() { |
| 568 | − _aboutToQuit = true; | |
| 568 | + emit beforeAboutToQuit(); | |
| 569 | 569 | |
| 570 | + _aboutToQuit = true; | |
| 570 | 571 | cleanupBeforeQuit(); |
| 571 | 572 | } |
| 572 | 573 | |