use "%" for string-concatenation

Qt-Docs says it's less memory-usage...
This commit is contained in:
plc-user
2025-05-22 21:33:32 +02:00
parent 3a8e6b16f5
commit ad29893842
30 changed files with 167 additions and 167 deletions

View File

@@ -1141,7 +1141,7 @@ ElementsLocation QETProject::importElement(ElementsLocation &location)
do
{
a++;
QString new_path = parent_path + "/" + name_ + QString::number(a) + ".elmt";
QString new_path = parent_path % "/" % name_ % QString::number(a) % ".elmt";
loc = ElementsLocation (new_path);
} while (loc.exist());