int pos;
qDebug() << "Calculating values";
- values.clear();
+ barvalues.clear();
for (pos = 0; pos < 7; pos++) {
duration[pos] = 0.0;
if (result > maxval) {
maxval = result;
}
- values << result;
+ barvalues << result;
}
step = maxval > 5.0 ? qRound(maxval / 5.0) : (maxval / 5.0);