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:
a0de51f
)
Fix wrong conditional that lead to excessive i18n calls.
author
Milian Wolff
<mail@milianw.de>
Tue, 5 Apr 2016 21:34:25 +0000
(23:34 +0200)
committer
Milian Wolff
<mail@milianw.de>
Tue, 5 Apr 2016 21:34:25 +0000
(23:34 +0200)
gui/chartmodel.cpp
patch
|
blob
|
history
diff --git
a/gui/chartmodel.cpp
b/gui/chartmodel.cpp
index
fb95aec
..
ea6142f
100644
(file)
--- a/
gui/chartmodel.cpp
+++ b/
gui/chartmodel.cpp
@@
-59,7
+59,7
@@
QVariant ChartModel::headerData(int section, Qt::Orientation orientation, int ro
return QVariant::fromValue(m_columnDataSetBrushes.at(section));
}
- if (role == Qt::DisplayRole || Qt::ToolTipRole) {
+ if (role == Qt::DisplayRole ||
role ==
Qt::ToolTipRole) {
if (section == 0) {
return i18n("Elapsed Time");
}