mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 12:12:39 +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];
|
||||
for (std::size_t i = 1; i < qStringVector.size(); ++i) {
|
||||
joined += separator + qStringVector[1];
|
||||
joined += separator + qStringVector[i];
|
||||
}
|
||||
return joined;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue