mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:27:35 +00:00
KeyboardSettings: Replace uses of JsonObject::get_deprecated()/get_ptr()
This commit is contained in:
parent
22b0089783
commit
3a48009022
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ KeyboardSettingsWidget::KeyboardSettingsWidget()
|
|||
auto json = JsonValue::from_string(proc_keymap->read_all()).release_value_but_fixme_should_propagate_errors();
|
||||
auto const& keymap_object = json.as_object();
|
||||
VERIFY(keymap_object.has("keymap"sv));
|
||||
m_initial_active_keymap = keymap_object.get_deprecated("keymap"sv).to_deprecated_string();
|
||||
m_initial_active_keymap = keymap_object.get_deprecated_string("keymap"sv).value();
|
||||
dbgln("KeyboardSettings thinks the current keymap is: {}", m_initial_active_keymap);
|
||||
|
||||
auto mapper_config(Core::ConfigFile::open("/etc/Keyboard.ini").release_value_but_fixme_should_propagate_errors());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue