Fix Column Chooser 'Z' fields

.. a throwback from the old SQL model days and not required
   any more. Also helps to explain issues with calendar text.
This commit is contained in:
Mark Liversedge
2015-06-26 20:33:54 +01:00
parent cc281e6e7a
commit f71cf2cb4e
3 changed files with 12 additions and 10 deletions

View File

@@ -194,13 +194,13 @@ RideCacheModel::configChanged(qint32)
// is a metric
int i=section-5;
headings_<< QString("X%1").arg(factory->metricName(i));
headings_<< QString("%1").arg(factory->metricName(i));
} else {
// is a metadata
int i= section -5 - factory->metricCount();
headings_<< QString("Z%1").arg(context->specialFields.makeTechName(metadata[i].name));
headings_<< QString("%1").arg(context->specialFields.makeTechName(metadata[i].name));
}
}
break;