From 3320cd7b0d2ba83f3eb7fd9776470b4ca5248938 Mon Sep 17 00:00:00 2001 From: Paul Lemire Date: Mon, 8 Jun 2020 09:00:19 +0200 Subject: Fix compile warnings related to deprecations or unused variables Change-Id: I3d8fa0940a22f40bec3809b302cc59a40a5c3c52 Reviewed-by: Mike Krus --- src/render/framegraph/qframegraphnode.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/render/framegraph/qframegraphnode.cpp') 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(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 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 -- cgit v1.2.3