Browse Source

- Fixed building on ARM (patch from Cristian Greco

adaptive-webui-19844
Christophe Dumez 17 years ago
parent
commit
b79e2906e8
  1. 3
      src/realprogressbarthread.cpp

3
src/realprogressbarthread.cpp

@ -141,7 +141,8 @@ void RealProgressBarThread::mark(qreal start, qreal end, qreal progress){ @@ -141,7 +141,8 @@ void RealProgressBarThread::mark(qreal start, qreal end, qreal progress){
if (end > array.size())
end = array.size();
int start_int, end_int;
qreal temp, start_frac, end_frac;
qreal start_frac, end_frac;
double temp;
start_frac = modf(start, &temp);
start_int = (int) temp;
end_frac = modf(end, &temp);

Loading…
Cancel
Save