From d8a97812dc2e5a8864b02a3a2de3c9d109d327bf Mon Sep 17 00:00:00 2001 From: Milian Wolff Date: Fri, 28 Apr 2017 13:28:04 +0200 Subject: [PATCH] Use byte size in allocated tooltip It was wrongly using the time twice. BUG: 379221 --- src/analyze/gui/chartmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/analyze/gui/chartmodel.cpp b/src/analyze/gui/chartmodel.cpp index 514859b..6ea0584 100644 --- a/src/analyze/gui/chartmodel.cpp +++ b/src/analyze/gui/chartmodel.cpp @@ -131,7 +131,7 @@ QVariant ChartModel::data(const QModelIndex& index, int role) const return i18n("%1 consumed in total after %2", format.formatByteSize(cost, 1, KFormat::MetricBinaryDialect), time); case Allocated: - return i18n("%2 allocated in total after %2", + return i18n("%1 allocated in total after %2", format.formatByteSize(cost, 1, KFormat::MetricBinaryDialect), time); } } else { -- 2.34.1