From: Steinar H. Gunderson Date: Mon, 29 May 2023 13:03:30 +0000 (+0200) Subject: Small typo. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=5c0c17605f6e569195f17c9c8f308d94c2c47397;p=pkanalytics Small typo. --- 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(); }