Apply suggestions from code review

Adding suggested changes from ctrlaltdavid

Co-Authored-By: David Rowe <david@ctrlaltstudio.com>
This commit is contained in:
Heather Anderson 2020-04-10 17:10:41 -07:00 committed by GitHub
parent 7cea4fc574
commit 9187a680cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -262,7 +262,7 @@ void setupPreferences() {
auto getter = []()->bool { return !Menu::getInstance()->isOptionChecked(MenuOption::DisableCrashLogger); };
auto setter = [](bool value) { Menu::getInstance()->setIsOptionChecked(MenuOption::DisableCrashLogger, !value); };
preferences->addPreference(new CheckPreference("Privacy", "Send crashes - Vircadia uses information provided by your "
"client to improve the product through crash events. By allowing Vircadia to collect "
"client to improve the product through crash reports. By allowing Vircadia to collect "
"this information you are helping to improve the product. ", getter, setter));
}

View file

@ -59,7 +59,7 @@ private slots:
private:
UserActivityLogger();
Setting::Handle<bool> _disabled { "UserActivityLoggerDisabled", true };
Setting::Handle<bool> _crashDisabled { "CrashLoggerDisabled", true };
Setting::Handle<bool> _crashDisabled { "CrashLoggerDisabled", false };
QElapsedTimer _timer;
};