From 5c0c17605f6e569195f17c9c8f308d94c2c47397 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 29 May 2023 15:03:30 +0200 Subject: [PATCH] Small typo. --- events.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/events.cpp b/events.cpp index bb915b2..1c7227e 100644 --- a/events.cpp +++ b/events.cpp @@ -49,8 +49,8 @@ QVariant EventsModel::data(const QModelIndex &index, int role) const return QString::fromUtf8(p.name + " (" + p.number + ")"); } else if (formation_id) { auto f_it = formations.find(*formation_id); - const Formation &p = f_it->second; - return QString::fromUtf8(p.name); + const Formation &f = f_it->second; + return QString::fromUtf8(f.name); } else { return QVariant(); } -- 2.39.2