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() { ...@@ -188,10 +188,8 @@ void StatisticsView::calculate() {
} }
calcCount++; calcCount++;
QString number(QLatin1String("")); const QString number = QString::asprintf("%6d", calcCount);
number.sprintf("%6d", calcCount); const QString hits = QString::asprintf("%7d", tmpStr->count);
QString hits(QLatin1String(""));
hits.sprintf("%7d", tmpStr->count);
QTreeWidgetItem *item = new QTreeWidgetItem(viewStatistics); QTreeWidgetItem *item = new QTreeWidgetItem(viewStatistics);
item->setText(0, number); item->setText(0, number);
item->setText(1, eventCb->currentText()); 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