return a double usind qMin

qMin is a template, use the right datatype for it.
part of review 103323
This commit is contained in:
Jaime Torres 2011-12-04 12:28:04 +01:00
parent 2c5ec1a56a
commit 4aa690ccc8

View File

@ -933,7 +933,7 @@ void SignalPlotter::drawPlots(QPainter *p, int top, int w, int h, int horizontal
qMax(prev_prev_datapoints[j],
prev_prev_prev_datapoints[j])));
double current_minvalue =
qMin(datapoints[j],
qMin<double>(datapoints[j],
qMin(prev_datapoints[j],
qMin(prev_prev_datapoints[j],
prev_prev_prev_datapoints[j])));