projects
/
situare
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad2f768
)
Removed qCritical print from RouteSegment::street() parser
author
Sami Rämö
<sami.ramo@ixonos.com>
Mon, 6 Sep 2010 11:34:16 +0000
(14:34 +0300)
committer
Sami Rämö
<sami.ramo@ixonos.com>
Mon, 6 Sep 2010 11:34:16 +0000
(14:34 +0300)
- Print was polluting unit test results
src/routing/routesegment.cpp
patch
|
blob
|
history
diff --git
a/src/routing/routesegment.cpp
b/src/routing/routesegment.cpp
index
f3961cc
..
0712542
100644
(file)
--- 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