Commit 54e05447 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port some deprecated methods

parent ea2b320a
......@@ -188,10 +188,8 @@ void StatisticsView::calculate() {
QString number(QLatin1String(""));
number.sprintf("%6d", calcCount);
QString hits(QLatin1String(""));
hits.sprintf("%7d", tmpStr->count);
const QString number = QString::asprintf("%6d", calcCount);
const QString hits = QString::asprintf("%7d", tmpStr->count);
QTreeWidgetItem *item = new QTreeWidgetItem(viewStatistics);
item->setText(0, number);
item->setText(1, eventCb->currentText());
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment