Bump version to 0.2.2
[harbour-pedalo.git] / src / statsweekdaycongestion.cpp
index c4842b3..9b6eb81 100644 (file)
@@ -1,5 +1,3 @@
-#include <QDebug>
-
 #include "statsweekdaycongestion.h"
 
 StatsWeekdayCongestion::StatsWeekdayCongestion(JourneyModel * journeys) :
@@ -15,8 +13,7 @@ void StatsWeekdayCongestion::update() {
     unsigned int count[7];
     int pos;
 
-    qDebug() << "Calculating values";
-    values.clear();
+    barvalues.clear();
 
     for (pos = 0; pos < 7; pos++) {
         passed[pos] = 0u;
@@ -42,10 +39,8 @@ void StatsWeekdayCongestion::update() {
         if (result > maxval) {
             maxval = result;
         }
-        values << result;
+        barvalues << result;
     }
 
     step = maxval > 5.0 ? qRound(maxval / 5.0) : (maxval / 5.0);
-
-    qDebug() << "Calculated values";
 }