summaryrefslogtreecommitdiff
path: root/ui/src
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2024-08-19 10:17:31 +0200
committerFelix Morgner <felix.morgner@gmail.com>2024-08-19 10:17:31 +0200
commit6c9be129ddd327634ca557fd079c0aa1a51df067 (patch)
treed1233ce625be84207c30cb80fbc3f62c734240d6 /ui/src
parent68ed467a1a7c5b08f29b12ccb712cf877847b00a (diff)
downloadturns-6c9be129ddd327634ca557fd079c0aa1a51df067.tar.xz
turns-6c9be129ddd327634ca557fd079c0aa1a51df067.zip
core: rename key namespace to settings::key
Diffstat (limited to 'ui/src')
-rw-r--r--ui/src/widgets/preferences.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/ui/src/widgets/preferences.cpp b/ui/src/widgets/preferences.cpp
index 621576e..6960dcc 100644
--- a/ui/src/widgets/preferences.cpp
+++ b/ui/src/widgets/preferences.cpp
@@ -47,14 +47,14 @@ namespace turns::ui::widgets
return;
}
- bind_reset(core::key::disposition_friendly_color, m_friendly_reset_button);
- bind_setting(core::key::disposition_friendly_color, m_friendly_color_button);
- bind_reset(core::key::disposition_hostile_color, m_hostile_reset_button);
- bind_setting(core::key::disposition_hostile_color, m_hostile_color_button);
- bind_reset(core::key::disposition_secret_color, m_secret_reset_button);
- bind_setting(core::key::disposition_secret_color, m_secret_color_button);
+ bind_reset(core::settings::key::disposition_friendly_color, m_friendly_reset_button);
+ bind_setting(core::settings::key::disposition_friendly_color, m_friendly_color_button);
+ bind_reset(core::settings::key::disposition_hostile_color, m_hostile_reset_button);
+ bind_setting(core::settings::key::disposition_hostile_color, m_hostile_color_button);
+ bind_reset(core::settings::key::disposition_secret_color, m_secret_reset_button);
+ bind_setting(core::settings::key::disposition_secret_color, m_secret_color_button);
- m_settings->bind(core::key::skip_defeated, m_skip_defeated->property_active());
+ m_settings->bind(core::settings::key::skip_defeated, m_skip_defeated->property_active());
}
auto preferences::bind_reset(Glib::ustring const & key, Gtk::Button * button) -> void