PathCurve documentation: fix non-working example snippet
authorTopi Reinio <topi.reinio@digia.com>
Tue, 15 Jan 2013 10:31:38 +0000 (11:31 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 17 Jan 2013 19:22:17 +0000 (20:22 +0100)
commit21c1cfb8674c0af9f52ef57c4fbd47f0bc78546f
tree4bce849e4fe92206a717837810401e46329420a3
parent9e11754fdceae18b49bf1b0947e48b5f81e85d59
PathCurve documentation: fix non-working example snippet

Set the contextType property in the example code that demonstrates
using PathCurve with Canvas; without it the code doesn't work.

Task-number: QTBUG-29114
Change-Id: I75be931d5a30a26efceb2c2493f5e41d092dbbc5
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
src/quick/doc/snippets/qml/path/basiccurve.qml