forked from qt-creator/qt-creator
Valgrind: Use multi-arg version of arg()
Change-Id: I729641e829ccbd604ea8bb3e45a5425bb83e1a1b Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -388,8 +388,7 @@ void Visualization::populateScene()
|
|||||||
ratioPercentString.append(QLocale::system().percent());
|
ratioPercentString.append(QLocale::system().percent());
|
||||||
const int hiddenFunctions = d->m_model->sourceModel()->rowCount() - d->m_model->rowCount();
|
const int hiddenFunctions = d->m_model->sourceModel()->rowCount() - d->m_model->rowCount();
|
||||||
text = tr("All functions with an inclusive cost ratio higher than %1 (%2 are hidden)")
|
text = tr("All functions with an inclusive cost ratio higher than %1 (%2 are hidden)")
|
||||||
.arg(ratioPercentString)
|
.arg(ratioPercentString, hiddenFunctions);
|
||||||
.arg(hiddenFunctions);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const qreal height = sceneHeight * (costs.isEmpty() ? 1.0 : 0.1);
|
const qreal height = sceneHeight * (costs.isEmpty() ? 1.0 : 0.1);
|
||||||
|
Reference in New Issue
Block a user