From e932276d0f81f0464b282b28397b236f04d87f68 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Tue, 12 Aug 2014 12:10:24 +0200 Subject: Revert "Add a simple rectangle node" This reverts commit 7d516abb39081c7ce58bb78a644f5bb5ff88f98a. Gunnar preferred routing the text cursor rectangles through the regular QSGRectangleNode. Change-Id: I40dc44451a10c9ccfe436974c21995a2b3bf86c2 Reviewed-by: Lars Knoll --- softwarecontext/context.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'softwarecontext/context.cpp') diff --git a/softwarecontext/context.cpp b/softwarecontext/context.cpp index a0b2dd98c5..26b7dc4678 100644 --- a/softwarecontext/context.cpp +++ b/softwarecontext/context.cpp @@ -130,11 +130,6 @@ Context::Context(QObject *parent) setDistanceFieldEnabled(false); } -QSGSimpleRectangleNode *Context::createSimpleRectangleNode(const QRectF &rect, const QColor &color) -{ - return new SimpleRectangleNode(rect, color); -} - QSGRectangleNode *Context::createRectangleNode() { return new RectangleNode(); -- cgit v1.2.3