forked from qt-creator/qt-creator
PerfProfiler: Use proper plural
Change-Id: Ie33c77aa2efc3189d45f0f6662974cc3d2646c06 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
@@ -166,7 +166,7 @@ QVariantMap PerfTimelineModel::details(int index) const
|
|||||||
manager->traceDuration()));
|
manager->traceDuration()));
|
||||||
const int guessedFrames = -frame.numSamples;
|
const int guessedFrames = -frame.numSamples;
|
||||||
if (guessedFrames > 0)
|
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))
|
if (const int sampleWeight = weight(index))
|
||||||
result.insert(tr("Weight"), sampleWeight);
|
result.insert(tr("Weight"), sampleWeight);
|
||||||
if (const int samplePeriod = period(index))
|
if (const int samplePeriod = period(index))
|
||||||
|
Reference in New Issue
Block a user