summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjasplin <qt-info@nokia.com>2010-04-28 11:38:12 +0200
committerjasplin <qt-info@nokia.com>2010-04-28 11:38:12 +0200
commitf3f295510bb2db4af5c10a04955666cadcaa5089 (patch)
treeb74f389bc8519c357278e1d19f39fe1a23e23716
parent776f61bb811965a79526b5ed53ae577322f3333b (diff)
Show the sign of the diff change.
-rw-r--r--src/bm/bmrequest.cpp3
-rw-r--r--src/bm/index.cpp6
2 files changed, 5 insertions, 4 deletions
diff --git a/src/bm/bmrequest.cpp b/src/bm/bmrequest.cpp
index 587604a..8781c8e 100644
--- a/src/bm/bmrequest.cpp
+++ b/src/bm/bmrequest.cpp
@@ -7219,7 +7219,8 @@ void BMRequest_GetIXHistories::handleReply_HTML(const QStringList &args) const
reply += "in a particular way with respect to time.";
reply += "<br /><br />";
- reply += "The selected evaluation time is indicated by a blue vertical line.";
+ reply += "The selected evaluation time is indicated by a blue vertical line ";
+ reply += "(unless it falls outside the global time range of the displayed result histories).";
reply += "</td></tr></table>\n";
diff --git a/src/bm/index.cpp b/src/bm/index.cpp
index 5d5bab0..c80a9bd 100644
--- a/src/bm/index.cpp
+++ b/src/bm/index.cpp
@@ -202,11 +202,11 @@ bool IndexAlgorithm1::computeValues(
const qreal diffChange = diff - diffPrev.at(j);
const QString descr =
- QString("base val: %1; val1: %2; val2: %3; abs log2 diff change: %4")
+ QString("diff change: %1; base val: %2; val1: %3; val2: %4")
+ .arg(diffChange)
.arg(baseVal)
.arg(targetValPrev.at(j))
- .arg(targetVal)
- .arg(qAbs(diffChange));
+ .arg(targetVal);
RankedInfo rankedInfo(
rhInfo->bmcontextId(), basePos.at(j), targetPosPrev.at(j), targetPos,