aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/items/context2d/qsgcanvasitem.cpp
diff options
context:
space:
mode:
authorCharles Yin <charles.yin@nokia.com>2011-10-10 13:43:51 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-10 05:45:11 +0200
commitca47f27900f6f0ebc35f87a28746376475212249 (patch)
treedfd1772ce147385f7dfe1e7bd9383f8e4b14ea5a /src/declarative/items/context2d/qsgcanvasitem.cpp
parentafaeabeb5a4344b4e05c98e665e8bf6d86594738 (diff)
fix doc errors
Change-Id: Ic092f2b2fba5d13eabbca8c599316e5f51193175 Reviewed-on: http://codereview.qt-project.org/6277 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Charles Yin <charles.yin@nokia.com>
Diffstat (limited to 'src/declarative/items/context2d/qsgcanvasitem.cpp')
-rw-r--r--src/declarative/items/context2d/qsgcanvasitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/items/context2d/qsgcanvasitem.cpp b/src/declarative/items/context2d/qsgcanvasitem.cpp
index 6b0b438ddb..49a0eb7f72 100644
--- a/src/declarative/items/context2d/qsgcanvasitem.cpp
+++ b/src/declarative/items/context2d/qsgcanvasitem.cpp
@@ -503,7 +503,7 @@ void QSGCanvasItem::createContext()
}
/*!
- \qmlmethod QtQuick2::Context2D QtQuick2::Canvas::getContext(string contextId)
+ \qmlmethod object QtQuick2::Canvas::getContext(string contextId)
Currently, the canvas item only support the 2D context. If the \a contextId
parameter isn't provided or is "2d", then the QtQuick2::Context2D object is