From aa4c7d94af003ab7bd17ca998e537f5168defebb Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Wed, 13 Mar 2019 13:07:06 +0100 Subject: [PATCH] PerfProfiler: Use proper plural Change-Id: Ie33c77aa2efc3189d45f0f6662974cc3d2646c06 Reviewed-by: Ulf Hermann --- src/plugins/perfprofiler/perftimelinemodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/perfprofiler/perftimelinemodel.cpp b/src/plugins/perfprofiler/perftimelinemodel.cpp index c2a383161b9..d7ab6cebedf 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))