From: Alan Alpert Date: Fri, 3 Feb 2012 02:45:23 +0000 (+1000) Subject: Remove SVG use from example X-Git-Tag: qt-v5.0.0-alpha1~501 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1a4dc88394fbe5f83f21facaebbef9adf199ed40;p=profile%2Fivi%2Fqtdeclarative.git Remove SVG use from example With the SVG module now an optional dependency, examples that don't need SVG shouldn't use them. Change-Id: I17ad57dec6982e78090904d1514e28233c354b5b Reviewed-by: Martin Jones --- diff --git a/examples/declarative/snake/content/pics/head.svg b/examples/declarative/snake/content/pics/head.svg deleted file mode 100644 index 3bf0bd2..0000000 --- a/examples/declarative/snake/content/pics/head.svg +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - diff --git a/examples/declarative/ui-components/slideswitch/content/Switch.qml b/examples/declarative/ui-components/slideswitch/content/Switch.qml index 3e10129..981fc16 100644 --- a/examples/declarative/ui-components/slideswitch/content/Switch.qml +++ b/examples/declarative/ui-components/slideswitch/content/Switch.qml @@ -73,7 +73,7 @@ Item { //![4] Image { id: background - source: "background.svg" + source: "background.png" MouseArea { anchors.fill: parent; onClicked: toggle() } } //![4] @@ -82,7 +82,7 @@ Item { Image { id: knob x: 1; y: 2 - source: "knob.svg" + source: "knob.png" MouseArea { anchors.fill: parent diff --git a/examples/declarative/ui-components/slideswitch/content/background.png b/examples/declarative/ui-components/slideswitch/content/background.png new file mode 100644 index 0000000..d736815 Binary files /dev/null and b/examples/declarative/ui-components/slideswitch/content/background.png differ diff --git a/examples/declarative/ui-components/slideswitch/content/knob.png b/examples/declarative/ui-components/slideswitch/content/knob.png new file mode 100644 index 0000000..ee0a436 Binary files /dev/null and b/examples/declarative/ui-components/slideswitch/content/knob.png differ