projects
/
harbour-pedalo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add graphs showing journeys/durations over last year
[harbour-pedalo.git]
/
src
/
statshourjourneys.cpp
diff --git
a/src/statshourjourneys.cpp
b/src/statshourjourneys.cpp
index
270d436
..
9c20130
100644
(file)
--- a/
src/statshourjourneys.cpp
+++ b/
src/statshourjourneys.cpp
@@
-1,5
+1,3
@@
-#include <QDebug>
-
#include "statshourjourneys.h"
#define LOWESTHOUR (7)
#include "statshourjourneys.h"
#define LOWESTHOUR (7)
@@
-8,7
+6,7
@@
StatsHourJourneys::StatsHourJourneys(JourneyModel * journeys) :
journeys(journeys)
{
StatsHourJourneys::StatsHourJourneys(JourneyModel * journeys) :
journeys(journeys)
{
- title = "Journey proportions per hour (%)";
+ title = "Journey proportion per hour (%)";
units = "%";
labels.clear();
units = "%";
labels.clear();
@@
-22,7
+20,6
@@
void StatsHourJourneys::update() {
quint64 totalmins;
int pos;
quint64 totalmins;
int pos;
- qDebug() << "Calculating values";
barvalues.clear();
for (pos = 0; pos < 24; pos++) {
barvalues.clear();
for (pos = 0; pos < 24; pos++) {
@@
-55,6
+52,4
@@
void StatsHourJourneys::update() {
}
barvalues << result;
}
}
barvalues << result;
}
-
- qDebug() << "Calculated values";
}
}