From: Milian Wolff Date: Fri, 28 Apr 2017 11:28:04 +0000 (+0200) Subject: Use byte size in allocated tooltip X-Git-Tag: submit/tizen/20180620.112952^2~75 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d8a97812dc2e5a8864b02a3a2de3c9d109d327bf;p=sdk%2Ftools%2Fheaptrack.git Use byte size in allocated tooltip It was wrongly using the time twice. BUG: 379221 --- 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 {