diff options
Diffstat (limited to 'profile-widget/ruleritem.cpp')
-rw-r--r-- | profile-widget/ruleritem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/profile-widget/ruleritem.cpp b/profile-widget/ruleritem.cpp index aecbab85b..a76012739 100644 --- a/profile-widget/ruleritem.cpp +++ b/profile-widget/ruleritem.cpp @@ -116,7 +116,7 @@ void RulerItem2::recalculate() } QLineF line(startPoint, endPoint); setLine(line); - compare_samples(&pInfo.entry[source->idx], &pInfo.entry[dest->idx], buffer, 500, 1); + compare_samples(&pInfo, source->idx, dest->idx, buffer, 500, 1); text = QString(buffer); // draw text |