aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickpainteditem/tst_qquickpainteditem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquickpainteditem/tst_qquickpainteditem.cpp')
-rw-r--r--tests/auto/quick/qquickpainteditem/tst_qquickpainteditem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/quick/qquickpainteditem/tst_qquickpainteditem.cpp b/tests/auto/quick/qquickpainteditem/tst_qquickpainteditem.cpp
index d9e893692d..4ae880f95b 100644
--- a/tests/auto/quick/qquickpainteditem/tst_qquickpainteditem.cpp
+++ b/tests/auto/quick/qquickpainteditem/tst_qquickpainteditem.cpp
@@ -37,7 +37,7 @@
#include <QtQuick/qquickview.h>
#include <private/qquickitem_p.h>
-#include <private/qsgpainternode_p.h>
+#include <private/qsgdefaultpainternode_p.h>
class tst_QQuickPaintedItem: public QObject
{
@@ -78,11 +78,11 @@ public:
QSGNode *updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *data)
{
- paintNode = static_cast<QSGPainterNode *>(QQuickPaintedItem::updatePaintNode(oldNode, data));
+ paintNode = static_cast<QSGDefaultPainterNode *>(QQuickPaintedItem::updatePaintNode(oldNode, data));
return paintNode;
}
- QSGPainterNode *paintNode;
+ QSGDefaultPainterNode *paintNode;
int paintRequests;
QRectF clipRect;
};