MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / fromEscaped

Function fromEscaped

src/core/objects/object_query.cpp:75–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75QString fromEscaped(QString string)
76{
77 for (int i = 0; i < string.length(); ++i)
78 {
79 const auto c = string.at(i);
80 if (c == QLatin1Char('\\'))
81 {
82 string.remove(i, 1);
83 ++i;
84 }
85 }
86 return string;
87}
88
89QString keyToString(const QString &key)
90{

Callers 1

tokenAsStringMethod · 0.85

Calls 3

removeMethod · 0.80
atMethod · 0.60
lengthMethod · 0.45

Tested by

no test coverage detected