diff options
author | Venu <venugopal.shivashankar@digia.com> | 2014-12-17 15:17:56 +0100 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@theqtcompany.com> | 2014-12-18 12:00:34 +0100 |
commit | 87ac0d66abbe235e353fbe10dc864ebdc9904d41 (patch) | |
tree | ab119b7e9d3e60a067c6611b114f8f2472b71bc0 | |
parent | 623a9bc4c7804693230748d1e2efc1b3ac00e86e (diff) |
Doc: Updated the snippet to call the right function
Change-Id: I0ac6424e728b8a06f6bcbe30d036a22f649129bb
Task-number: QTBUG-43406
Reviewed-by: Nico Vertriest <nico.vertriest@digia.com>
-rw-r--r-- | src/quick/doc/snippets/qml/itemGrab.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/doc/snippets/qml/itemGrab.qml b/src/quick/doc/snippets/qml/itemGrab.qml index 4ceaea6133..c8ffd30edc 100644 --- a/src/quick/doc/snippets/qml/itemGrab.qml +++ b/src/quick/doc/snippets/qml/itemGrab.qml @@ -70,7 +70,7 @@ Image { // ... source.grabToImage(function(result) { - result.save("something.png"); + result.saveToFile("something.png"); }); //! [grab-to-file] |