UAL moved back to networking
Showing the changes to interface/src/Menu.cpp (1 of 16 files). Show all
Unified · Split
| @@ -57,6 +57,7 @@ · 56 unmodified lines | ||
| 57 | 57 | #include "LocationBookmarks.h" |
| 58 | 58 | #include "DeferredLightingEffect.h" |
| 59 | 59 | #include "PickManager.h" |
| 60 | +#include "crash-handler/CrashHandler.h" | |
| 60 | 61 | |
| 61 | 62 | #include "scripting/SettingsScriptingInterface.h" |
| 62 | 63 | #if defined(Q_OS_MAC) || defined(Q_OS_WIN) |
| @@ -636,12 +637,13 @@ Menu::Menu() { · 573 unmodified lines | ||
| 636 | 637 | true, |
| 637 | 638 | &UserActivityLogger::getInstance(), |
| 638 | 639 | SLOT(disable(bool))); |
| 640 | + | |
| 639 | 641 | addCheckableActionToQMenuAndActionHash(networkMenu, |
| 640 | 642 | MenuOption::EnableCrashReporting, |
| 641 | 643 | 0, |
| 642 | − UserActivityLogger::getInstance().isCrashReportingEnabled(), | |
| 643 | − &UserActivityLogger::getInstance(), | |
| 644 | − SLOT(setCrashReportingEnabled(bool))); | |
| 644 | + CrashHandler::getInstance().isEnabled(), | |
| 645 | + &CrashHandler::getInstance(), | |
| 646 | + SLOT(setEnabled(bool))); | |
| 645 | 647 | |
| 646 | 648 | addActionToQMenuAndActionHash(networkMenu, MenuOption::ShowDSConnectTable, 0, |
| 647 | 649 | qApp, SLOT(loadDomainConnectionDialog())); |