QmlProfiler: Use numerous form

Change-Id: I6430c934fa0d5a629a9bb973e4720a38ec183f9c
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
Robert Loehning
2016-08-25 17:38:30 +02:00
parent c44e5826e7
commit edb0da7552

View File

@@ -103,7 +103,7 @@ QVariantMap MemoryUsageModel::details(int index) const
else else
result.insert(QLatin1String("displayName"), tr("Memory Freed")); result.insert(QLatin1String("displayName"), tr("Memory Freed"));
result.insert(tr("Total"), tr("%1 bytes").arg(ev->size)); result.insert(tr("Total"), tr("%n bytes", 0, ev->size));
if (ev->allocations > 0) { if (ev->allocations > 0) {
result.insert(tr("Allocated"), tr("%1 bytes").arg(ev->allocated)); result.insert(tr("Allocated"), tr("%1 bytes").arg(ev->allocated));
result.insert(tr("Allocations"), QString::number(ev->allocations)); result.insert(tr("Allocations"), QString::number(ev->allocations));