mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-10 06:12:53 +02:00
Apply suggestions from code review
Adding suggested changes from ctrlaltdavid Co-Authored-By: David Rowe <david@ctrlaltstudio.com>
This commit is contained in:
parent
7cea4fc574
commit
9187a680cd
2 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue