summaryrefslogtreecommitdiff
path: root/src/plugins/perfprofiler
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2019-03-13 13:07:06 +0100
committerRobert Loehning <robert.loehning@qt.io>2019-03-15 11:11:32 +0000
commitaa4c7d94af003ab7bd17ca998e537f5168defebb (patch)
tree14e23d6e0bf848bf8a888c19784e62af429afa20 /src/plugins/perfprofiler
parent3a58c4652eb3c1707d74129f89585b4706d4c577 (diff)
downloadqt-creator-aa4c7d94af003ab7bd17ca998e537f5168defebb.tar.gz
PerfProfiler: Use proper plural
Change-Id: Ie33c77aa2efc3189d45f0f6662974cc3d2646c06 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/plugins/perfprofiler')
-rw-r--r--src/plugins/perfprofiler/perftimelinemodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/perfprofiler/perftimelinemodel.cpp b/src/plugins/perfprofiler/perftimelinemodel.cpp
index c2a383161b..d7ab6cebed 100644
--- a/src/plugins/perfprofiler/perftimelinemodel.cpp
+++ b/src/plugins/perfprofiler/perftimelinemodel.cpp
@@ -166,7 +166,7 @@ QVariantMap PerfTimelineModel::details(int index) const
manager->traceDuration()));
const int guessedFrames = -frame.numSamples;
if (guessedFrames > 0)
- result.insert(tr("Guessed"), tr("%1 frames").arg(guessedFrames));
+ result.insert(tr("Guessed"), tr("%n frames", nullptr, guessedFrames));
if (const int sampleWeight = weight(index))
result.insert(tr("Weight"), sampleWeight);
if (const int samplePeriod = period(index))