summaryrefslogtreecommitdiffstats
path: root/stats/boxseries.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'stats/boxseries.cpp')
-rw-r--r--stats/boxseries.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/stats/boxseries.cpp b/stats/boxseries.cpp
index c4f34dbb7..06aa8b095 100644
--- a/stats/boxseries.cpp
+++ b/stats/boxseries.cpp
@@ -98,7 +98,7 @@ std::vector<QString> BoxSeries::formatInformation(const Item &item) const
{
QLocale loc;
return {
- StatsTranslations::tr("%1 (%2 dives)").arg(item.binName, loc.toString(item.q.count)),
+ StatsTranslations::tr("%1 (%2 dives)").arg(item.binName, loc.toString((int)item.q.dives.size())),
QStringLiteral("%1:").arg(variable),
infoItem(StatsTranslations::tr("min"), unit, decimals, item.q.min),
infoItem(StatsTranslations::tr("Q1"), unit, decimals, item.q.q1),