photosurface example: simplify PinchArea usage; fileUrls; license
authorShawn Rutledge <shawn.rutledge@digia.com>
Thu, 14 Mar 2013 20:06:51 +0000 (21:06 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 15 Mar 2013 18:45:15 +0000 (19:45 +0100)
commit789e6eb98376c6a235c1a32d009a9b13dd97d93c
tree44f0cae24375c097979a8e112c15227ea0ce92fa
parent70ce4ec6ae9321a601a5af37d11bd284b2203bfc
photosurface example: simplify PinchArea usage; fileUrls; license

FileDialog.filePaths was changed to fileUrls.  No need to do so much
scripting because the PinchArea.target takes care of the math already,
and with better rotational symmetry too.  Example QML should have a
BSD license.

Change-Id: I892292574c81c032d948c1c2d4924fc7127dd008
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
examples/quick/demos/photosurface/photosurface.qml