X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Ftextelement.cpp;fp=src%2Ftextelement.cpp;h=9097700a7db97f00342a94c8b60ec576f60b75c3;hb=aa5d158b24b2e03c0855ec68c37ab7285195018d;hp=fc3b79e7a03811d0249abc9da59399775fd6e386;hpb=10347339166083e3f505322671c54913c56e0401;p=jspeed diff --git a/src/textelement.cpp b/src/textelement.cpp index fc3b79e..9097700 100644 --- a/src/textelement.cpp +++ b/src/textelement.cpp @@ -53,7 +53,7 @@ namespace const QString FIELDS[TextElement::FIELD_COUNT] = {"TRIP", "TOTAL", "SPEED", "MAXSPEED", "AVGSPEED", "UNIT", "SPEEDUNIT", "TIME", "DATE", - "POIDISTANCE", "POI", "ANGLE", "LATITUDE", + "POIDISTANCE", "POITEXT", "ANGLE", "LATITUDE", "LONGITUDE", "ALTITUDE", "DISTANCEUNIT"}; } @@ -278,7 +278,7 @@ void TextElement::replaceSpecialFields(QString& value) case POIDISTANCE: replaceValue(value, f, handleEmpty(PoiAlerts::instance().getCurrentDistance())); break; - case POI: + case POITEXT: replaceValue(value, f, PoiAlerts::instance().getCurrentPoi()); break; case ANGLE: