summaryrefslogtreecommitdiff
path: root/app/src/widgets/participant_row.cpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2024-07-24 11:18:46 +0200
committerFelix Morgner <felix.morgner@gmail.com>2024-07-24 11:18:46 +0200
commit6a6d0be0c659c28946c70a4774966ea9169acb25 (patch)
tree0514faa91f48765d09bbad7d400162866c7161ad /app/src/widgets/participant_row.cpp
parent3f5499cebc06356ed99159be3fb9676292cf7b8b (diff)
downloadturns-6a6d0be0c659c28946c70a4774966ea9169acb25.tar.xz
turns-6a6d0be0c659c28946c70a4774966ea9169acb25.zip
turns: update header sorting rules and reformat code
Diffstat (limited to 'app/src/widgets/participant_row.cpp')
-rw-r--r--app/src/widgets/participant_row.cpp16
1 files changed, 8 insertions, 8 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(),