diff options
Diffstat (limited to 'app/src/widgets')
| -rw-r--r-- | app/src/widgets/participant_row.cpp | 16 | ||||
| -rw-r--r-- | app/src/widgets/turn_order_view.cpp | 1 |
2 files changed, 8 insertions, 9 deletions
diff --git a/app/src/widgets/participant_row.cpp b/app/src/widgets/participant_row.cpp index 6a274d5..81d9e31 100644 --- a/app/src/widgets/participant_row.cpp +++ b/app/src/widgets/participant_row.cpp @@ -2,15 +2,16 @@ #include "turns/lang/messages.hpp" -#include <algorithm> -#include <format> -#include <vector> - #include <glibmm/i18n.h> #include <glibmm/ustring.h> #include <glibmm/variant.h> + #include <gtkmm/stringlist.h> +#include <algorithm> +#include <format> +#include <vector> + namespace turns::app::widgets { namespace @@ -75,10 +76,9 @@ namespace turns::app::widgets { Glib::Binding::bind_property(participant->name(), m_title->property_label(), Glib::Binding::Flags::SYNC_CREATE); - Glib::Binding::bind_property(participant->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->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->disposition(), m_toggle_defeated->property_css_classes(), diff --git a/app/src/widgets/turn_order_view.cpp b/app/src/widgets/turn_order_view.cpp index 172b6a2..82ef4e5 100644 --- a/app/src/widgets/turn_order_view.cpp +++ b/app/src/widgets/turn_order_view.cpp @@ -29,7 +29,6 @@ namespace turns::app::widgets } } - auto turn_order_view::handle_create_row(Glib::RefPtr<Glib::Object> const item) -> Gtk::Widget * { auto participant = std::dynamic_pointer_cast<core::participant>(item); |
