aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgdefaultrectanglenode.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2012-02-23 10:12:52 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-27 00:12:08 +0100
commit86b14cf97081cad1e32b8b5261f771184300f8af (patch)
treea1a920b7f49e8f19b7dbf1350c5abafbfb11c1ee /src/quick/scenegraph/qsgdefaultrectanglenode.cpp
parent316ede158401c0e939cae817388a67b3303ac59d (diff)
Remove unused member.
Change-Id: Ibfcc7a78e442c2be5bab6933e2e85ed39344e6c2 Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
Diffstat (limited to 'src/quick/scenegraph/qsgdefaultrectanglenode.cpp')
-rw-r--r--src/quick/scenegraph/qsgdefaultrectanglenode.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/quick/scenegraph/qsgdefaultrectanglenode.cpp b/src/quick/scenegraph/qsgdefaultrectanglenode.cpp
index cb385f6dd0..3d15f6944d 100644
--- a/src/quick/scenegraph/qsgdefaultrectanglenode.cpp
+++ b/src/quick/scenegraph/qsgdefaultrectanglenode.cpp
@@ -54,7 +54,7 @@
QT_BEGIN_NAMESPACE
-QSGDefaultRectangleNode::QSGDefaultRectangleNode(QSGContext *context)
+QSGDefaultRectangleNode::QSGDefaultRectangleNode()
: m_border(0)
, m_radius(0)
, m_pen_width(0)
@@ -62,7 +62,6 @@ QSGDefaultRectangleNode::QSGDefaultRectangleNode(QSGContext *context)
, m_gradient_is_opaque(true)
, m_dirty_geometry(false)
, m_default_geometry(QSGGeometry::defaultAttributes_Point2D(), 4)
- , m_context(context)
{
setGeometry(&m_default_geometry);
setMaterial(&m_fill_material);