Add graphs showing journeys/durations over last year
[harbour-pedalo.git] / src / statshourjourneys.cpp
index 270d436..9c20130 100644 (file)
@@ -1,5 +1,3 @@
-#include <QDebug>
-
 #include "statshourjourneys.h"
 
 #define LOWESTHOUR (7)
@@ -8,7 +6,7 @@
 StatsHourJourneys::StatsHourJourneys(JourneyModel * journeys) :
     journeys(journeys)
 {
-    title = "Journey proportions per hour (%)";
+    title = "Journey proportion per hour (%)";
     units = "%";
 
     labels.clear();
@@ -22,7 +20,6 @@ void StatsHourJourneys::update() {
     quint64 totalmins;
     int pos;
 
-    qDebug() << "Calculating values";
     barvalues.clear();
 
     for (pos = 0; pos < 24; pos++) {
@@ -55,6 +52,4 @@ void StatsHourJourneys::update() {
         }
         barvalues << result;
     }
-
-    qDebug() << "Calculated values";
 }