Valgrind: Use multi-arg version of arg()

Change-Id: I729641e829ccbd604ea8bb3e45a5425bb83e1a1b
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Robert Loehning
2018-10-23 13:09:33 +02:00
parent 5601ac2952
commit cf2ea1b70a

View File

@@ -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);