Fix Filter on BikeScore and 95% heart rate

As the parser fell over on them due to special characters
and having to convert the TM symbol to an HTML escape.
This commit is contained in:
Mark Liversedge
2013-04-26 17:13:16 +01:00
parent 42325ea193
commit 52bfcc9f9a
4 changed files with 9 additions and 17 deletions

View File

@@ -99,7 +99,6 @@ void Leaf::validateFilter(DataFilter *df, Leaf *leaf)
// if so set the type to meta or metric
// and save the technical name used to do
// a lookup at execution time
QString lookup = df->lookupMap.value(*(leaf->lvalue.n), "");
if (lookup == "") {
DataFiltererrors << QString("%1 is unknown").arg(*(leaf->lvalue.n));