History

add 'reset sensors' to preferences

Alexander Ivash committed 8 years ago

Commit 56cd4e51 parent 929fec71 file · +7 −0Browse files

Showing the changes to interface/src/ui/PreferencesDialog.cpp (1 of 1 file). Show all

Unified · Split

interface/src/ui/PreferencesDialog.cpp+7−0
@@ -300,6 +300,13 @@ void setupPreferences() { · 299 unmodified lines
300 preference->setStep(0.001f);300 preference->setStep(0.001f);
301 preferences->addPreference(preference);301 preferences->addPreference(preference);
302 }302 }
303 {
304 auto preference = new ButtonPreference(MOVEMENT, "RESET SENSORS", [] {
305 qApp->resetSensors();
306 });
307
308 preferences->addPreference(preference);
309 }
303 310
304 static const QString AVATAR_CAMERA{ "Mouse Sensitivity" };311 static const QString AVATAR_CAMERA{ "Mouse Sensitivity" };
305 {312 {