mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-21 22:13:25 -06:00
#2361 AppFwk : Make sure identical strings are separated by semicolon
This commit is contained in:
parent
50c3e5f0d2
commit
c0d9ef67fa
@ -18,11 +18,11 @@ QTextStream& operator<<(QTextStream& str, const std::vector<caf::FilePath>& file
|
||||
trimmedEntries.push_back(text);
|
||||
}
|
||||
|
||||
for (const auto& s : trimmedEntries)
|
||||
for (size_t i = 0; i < trimmedEntries.size(); i++)
|
||||
{
|
||||
str << s;
|
||||
str << trimmedEntries[i];
|
||||
|
||||
if (s != trimmedEntries.back())
|
||||
if (i < trimmedEntries.size() - 1)
|
||||
{
|
||||
str << ";";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user