summaryrefslogtreecommitdiff
path: root/ui/src/widgets/participant_row.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/widgets/participant_row.cpp')
-rw-r--r--ui/src/widgets/participant_row.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/ui/src/widgets/participant_row.cpp b/ui/src/widgets/participant_row.cpp
index 0a2a3b6..367870a 100644
--- a/ui/src/widgets/participant_row.cpp
+++ b/ui/src/widgets/participant_row.cpp
@@ -88,9 +88,10 @@ namespace turns::ui::widgets
{
Glib::Binding::bind_property(participant->property_name(), m_title->property_label(), Glib::Binding::Flags::SYNC_CREATE);
- Glib::Binding::bind_property(participant->property_priority(), m_subtitle->property_label(), Glib::Binding::Flags::SYNC_CREATE, [](auto n) {
- return std::vformat(_(lang::priority_number), std::make_format_args(n));
- });
+ Glib::Binding::bind_property(participant->property_priority(),
+ m_subtitle->property_label(),
+ Glib::Binding::Flags::SYNC_CREATE,
+ [](auto n) { return std::vformat(_(lang::priority_number), std::make_format_args(n)); });
Glib::Binding::bind_property(participant->property_disposition(),
m_toggle_defeated->property_css_classes(),
@@ -105,7 +106,10 @@ namespace turns::ui::widgets
return classes;
});
- Glib::Binding::bind_property(participant->property_is_active(), property_css_classes(), Glib::Binding::Flags::SYNC_CREATE, [this](auto value) {
+ Glib::Binding::bind_property(participant->property_is_active(),
+ property_css_classes(),
+ Glib::Binding::Flags::SYNC_CREATE,
+ [this](auto value) {
auto classes = get_css_classes();
if (!value)
{