From: Sami Rämö Date: Mon, 6 Sep 2010 11:34:16 +0000 (+0300) Subject: Removed qCritical print from RouteSegment::street() parser X-Git-Tag: v2.0b-1~13^2 X-Git-Url: https://vcs.maemo.org/git/?a=commitdiff_plain;ds=sidebyside;h=2eccb7ce3c03e07a69d86b19fe301452d99043f4;p=situare Removed qCritical print from RouteSegment::street() parser - Print was polluting unit test results --- diff --git a/src/routing/routesegment.cpp b/src/routing/routesegment.cpp index f3961cc..0712542 100644 --- a/src/routing/routesegment.cpp +++ b/src/routing/routesegment.cpp @@ -197,11 +197,8 @@ QString RouteSegment::street() const QRegExp regexp(REGEXP_ROUNDABOUT); result.replace(regexp, ""); - } else { - // no match, unknown turn type - qCritical() << __PRETTY_FUNCTION__ << "UNKNOWN TURN TYPE CODE! ( turn type:" - << m_turnType << "instruction:" << m_instruction << ")"; } + // else: do nothing // replace on/at/onto words at the beginning of the result // with zero or one leading space and one following space