diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2020-06-08 09:00:19 +0200 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2020-06-08 14:07:56 +0200 |
commit | 3320cd7b0d2ba83f3eb7fd9776470b4ca5248938 (patch) | |
tree | 64719475d6a154eae7dbba9447f7751223bf855a /src/core/nodes | |
parent | e4250bb082a2b954946d4ab5d7312eb33478db59 (diff) |
Fix compile warnings related to deprecations or unused variables
Change-Id: I3d8fa0940a22f40bec3809b302cc59a40a5c3c52
Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'src/core/nodes')
-rw-r--r-- | src/core/nodes/qentity.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/nodes/qentity.cpp b/src/core/nodes/qentity.cpp index 551dc685b..02f84b924 100644 --- a/src/core/nodes/qentity.cpp +++ b/src/core/nodes/qentity.cpp @@ -84,7 +84,7 @@ QStringList dumpSG(const Qt3DCore::QNode *n, int level = 0) const auto *entity = qobject_cast<const Qt3DCore::QEntity *>(n); if (entity != nullptr) { QString res = dumpNode(entity); - reply += res.rightJustified(res.length() + level * 2, ' '); + reply += res.rightJustified(res.length() + level * 2, QLatin1Char(' ')); level++; } @@ -301,7 +301,7 @@ QNodeId QEntityPrivate::parentEntityId() const QString QEntityPrivate::dumpSceneGraph() const { Q_Q(const QEntity); - return dumpSG(q).join('\n'); + return dumpSG(q).join(QLatin1Char('\n')); } void QEntityPrivate::updateComponentRelationShip(QComponent *component, ComponentRelationshipChange::RelationShip change) |