Enable user to configure autodiscovery

.. select which kind of intervals we want

.. makes it faster and also reduces the size of
   the rideDB.json file quite dramatically which
   may be useful for some users.
This commit is contained in:
Mark Liversedge
2015-06-27 12:30:27 +01:00
parent 22dbfaee7d
commit 8a09fe0ca2
14 changed files with 223 additions and 47 deletions

View File

@@ -175,7 +175,7 @@ AllPlotInterval::sortIntervals(QList<IntervalItem*> &intervals, QList< QList<Int
for (int i=0; i<intervals.count(); i++) {
IntervalItem* interval = intervals.at(i);
if (groupMatch && interval->type == RideFileInterval::MATCH) {
if (groupMatch && interval->type == RideFileInterval::USER) {
matchesGroup.append(interval);
intervals.removeOne(interval);
//intervals.move(i, place++);