summaryrefslogtreecommitdiffstats
path: root/src/render/framegraph/qframegraphnode.cpp
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2020-06-08 09:00:19 +0200
committerPaul Lemire <paul.lemire@kdab.com>2020-06-08 14:07:56 +0200
commit3320cd7b0d2ba83f3eb7fd9776470b4ca5248938 (patch)
tree64719475d6a154eae7dbba9447f7751223bf855a /src/render/framegraph/qframegraphnode.cpp
parente4250bb082a2b954946d4ab5d7312eb33478db59 (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/render/framegraph/qframegraphnode.cpp')
-rw-r--r--src/render/framegraph/qframegraphnode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/framegraph/qframegraphnode.cpp b/src/render/framegraph/qframegraphnode.cpp
index d28030cb0..1c2829399 100644
--- a/src/render/framegraph/qframegraphnode.cpp
+++ b/src/render/framegraph/qframegraphnode.cpp
@@ -83,7 +83,7 @@ QStringList dumpFG(const Qt3DCore::QNode *n, int level = 0)
const Qt3DRender::QFrameGraphNode *fgNode = qobject_cast<const Qt3DRender::QFrameGraphNode *>(n);
if (fgNode) {
QString res = dumpNode(fgNode);
- reply += res.rightJustified(res.length() + level * 2, ' ');
+ reply += res.rightJustified(res.length() + level * 2, QLatin1Char(' '));
}
const auto children = n->childNodes();
@@ -395,7 +395,7 @@ QVector<QFrameGraphNode *> QFrameGraphNodePrivate::childFrameGraphNodes() const
QString QFrameGraphNodePrivate::dumpFrameGraph() const
{
Q_Q(const QFrameGraphNode);
- return dumpFG(q).join('\n');
+ return dumpFG(q).join(QLatin1Char('\n'));
}
QStringList QFrameGraphNodePrivate::dumpFrameGraphPaths() const