mirror of
https://github.com/overte-org/overte.git
synced 2025-06-16 16:00:16 +02:00
Fix indexing typo in joinVector
This commit is contained in:
parent
bc2cc11c06
commit
388a70502e
1 changed files with 1 additions and 1 deletions
|
@ -739,7 +739,7 @@ QString joinVector(const std::vector<QString>& qStringVector, const char* separa
|
||||||
}
|
}
|
||||||
QString joined = qStringVector[0];
|
QString joined = qStringVector[0];
|
||||||
for (std::size_t i = 1; i < qStringVector.size(); ++i) {
|
for (std::size_t i = 1; i < qStringVector.size(); ++i) {
|
||||||
joined += separator + qStringVector[1];
|
joined += separator + qStringVector[i];
|
||||||
}
|
}
|
||||||
return joined;
|
return joined;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue