mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
use "%" for string-concatenation
Qt-Docs says it's less memory-usage...
This commit is contained in:
@@ -108,7 +108,7 @@ QString XmlProjectElementCollectionItem::embeddedPath() const
|
||||
if (xpeci->isCollectionRoot())
|
||||
return xpeci->embeddedPath() + name();
|
||||
else
|
||||
return xpeci->embeddedPath() + "/" + name();
|
||||
return xpeci->embeddedPath() % "/" % name();
|
||||
}
|
||||
else
|
||||
return QString();
|
||||
|
||||
Reference in New Issue
Block a user