Reduce assumptions in examples
authorAlan Alpert <alan.alpert@nokia.com>
Tue, 27 Mar 2012 08:00:33 +0000 (18:00 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 28 Mar 2012 03:49:28 +0000 (05:49 +0200)
commita3d4c97c5fb28599e007116fec679b16656df512
tree811ae05f13d2b90dce878346ae2452dcf6b3934d
parented37dd9bb1f63d47a5daafc06af3a13549000f0c
Reduce assumptions in examples

-dynamic scene, don't set duration on running animation (doesn't work)
-dynamic scene, just use set colors instead of system palette (in case
platform doesn't support it right, like N900)
-dynamic scene, calculator and shadereffects, don't rely on root item being
automatically in scope (possibly confusing)

Change-Id: I1eec018d5387424dc6b07bf51c1b2184b3048553
Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
examples/demos/calculator/CalculatorCore/calculator.js
examples/demos/calculator/calculator-mobile.qml
examples/qml/dynamicscene/content/Button.qml
examples/qml/dynamicscene/content/Sun.qml
examples/qml/dynamicscene/dynamicscene.qml
examples/quick/shadereffects/shadereffects.qml