aboutsummaryrefslogtreecommitdiffstats
path: root/softwarecontext/context.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2014-08-12 12:10:24 +0200
committerLars Knoll <lars.knoll@digia.com>2014-08-12 18:02:47 +0300
commite932276d0f81f0464b282b28397b236f04d87f68 (patch)
tree558947ec05839600720b40a062a08bbc0ffc0176 /softwarecontext/context.cpp
parent9e0d6f6da520d2f9e935570c942b2ee4166bbfc3 (diff)
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 <lars.knoll@digia.com>
Diffstat (limited to 'softwarecontext/context.cpp')
-rw-r--r--softwarecontext/context.cpp5
1 files changed, 0 insertions, 5 deletions
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();