projects
/
sdk
/
tools
/
heaptrack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f56a13
)
Use byte size in allocated tooltip
author
Milian Wolff
<mail@milianw.de>
Fri, 28 Apr 2017 11:28:04 +0000
(13:28 +0200)
committer
Milian Wolff
<mail@milianw.de>
Fri, 28 Apr 2017 11:28:04 +0000
(13:28 +0200)
It was wrongly using the time twice.
BUG: 379221
src/analyze/gui/chartmodel.cpp
patch
|
blob
|
history
diff --git
a/src/analyze/gui/chartmodel.cpp
b/src/analyze/gui/chartmodel.cpp
index
514859b
..
6ea0584
100644
(file)
--- 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("<qt>%1 consumed in total after %2</qt>",
format.formatByteSize(cost, 1, KFormat::MetricBinaryDialect), time);
case Allocated:
- return i18n("<qt>%
2
allocated in total after %2</qt>",
+ return i18n("<qt>%
1
allocated in total after %2</qt>",
format.formatByteSize(cost, 1, KFormat::MetricBinaryDialect), time);
}
} else {