summaryrefslogtreecommitdiffstats
path: root/tests/auto/render/qframegraphnode/tst_qframegraphnode.cpp
diff options
context:
space:
mode:
authorMike Krus <mike.krus@kdab.com>2019-12-02 20:22:44 +0000
committerMike Krus <mike.krus@kdab.com>2019-12-03 09:07:40 +0000
commit00e0783992a4326fcca93e118edb9a3ed09fd5a4 (patch)
treee1865bd057bea2de962ed37afa63283390fd7713 /tests/auto/render/qframegraphnode/tst_qframegraphnode.cpp
parent568b2d62e6e07b40d602bcd2a1c2e8e566c41b9f (diff)
Fix compile warnings
Change-Id: Idb253d8cb42809ae21cfbbda70d6b6c75891070f Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'tests/auto/render/qframegraphnode/tst_qframegraphnode.cpp')
-rw-r--r--tests/auto/render/qframegraphnode/tst_qframegraphnode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/render/qframegraphnode/tst_qframegraphnode.cpp b/tests/auto/render/qframegraphnode/tst_qframegraphnode.cpp
index 24febdac4..6116e031e 100644
--- a/tests/auto/render/qframegraphnode/tst_qframegraphnode.cpp
+++ b/tests/auto/render/qframegraphnode/tst_qframegraphnode.cpp
@@ -94,7 +94,7 @@ private Q_SLOTS:
{
Qt3DRender::QFrameGraphNode *nodeWithNestedChildren = new MyFrameGraphNode();
Qt3DRender::QFrameGraphNode *child = new MyFrameGraphNode(nodeWithNestedChildren);
- Qt3DCore::QNode *dummy = new Qt3DCore::QNode(nodeWithNestedChildren);
+ new Qt3DCore::QNode(nodeWithNestedChildren);
Qt3DRender::QFrameGraphNode *grandChild = new MyFrameGraphNode(nodeWithNestedChildren);
QVector<Qt3DCore::QNodeId> childIds = {child->id(), grandChild->id()};
QTest::newRow("nodeWithNestedChildren") << nodeWithNestedChildren << childIds << true << 4;