mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 06:53:46 +02:00
Merge branch 'menu-updates' of github.com:vladest/hifi into menu-updates
This commit is contained in:
commit
237b0d7483
2 changed files with 1 additions and 7 deletions
|
@ -757,9 +757,6 @@ Menu::Menu() {
|
|||
action = addActionToQMenuAndActionHash(crashMenu, MenuOption::CrashNewFaultThreaded);
|
||||
connect(action, &QAction::triggered, qApp, []() { std::thread(crash::newFault).join(); });
|
||||
|
||||
// Developer > Display Crash Options
|
||||
addCheckableActionToQMenuAndActionHash(developerMenu, MenuOption::DisplayCrashOptions, 0, true);
|
||||
|
||||
// Developer > Stats
|
||||
addCheckableActionToQMenuAndActionHash(developerMenu, MenuOption::Stats);
|
||||
|
||||
|
|
|
@ -79,9 +79,6 @@ void setupPreferences() {
|
|||
wodSlider->setMin(0);
|
||||
wodSlider->setMax(2000);
|
||||
preferences->addPreference(wodSlider);
|
||||
auto getterSQ = []()->float { return 1.0; };
|
||||
auto setterSQ = [](float value) { };
|
||||
preferences->addPreference(new SliderPreference(GRAPHICS_QUALITY, "Shadow Quality", getterSQ, setterSQ));
|
||||
|
||||
auto getterShadow = []()->bool {
|
||||
bool ret = false;
|
||||
|
@ -104,7 +101,7 @@ void setupPreferences() {
|
|||
}
|
||||
}
|
||||
};
|
||||
preferences->addPreference(new CheckPreference(GRAPHICS_QUALITY, "Enable/disable shadows", getterShadow, setterShadow));
|
||||
preferences->addPreference(new CheckPreference(GRAPHICS_QUALITY, "Show Shadows", getterShadow, setterShadow));
|
||||
}
|
||||
|
||||
// UI
|
||||
|
|
Loading…
Reference in a new issue