aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/customitems/dialcontrol
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/customitems/dialcontrol')
-rw-r--r--examples/quick/customitems/dialcontrol/content/Dial.qml2
-rw-r--r--examples/quick/customitems/dialcontrol/content/QuitButton.qml1
-rw-r--r--examples/quick/customitems/dialcontrol/dialcontrol.qml4
3 files changed, 3 insertions, 4 deletions
diff --git a/examples/quick/customitems/dialcontrol/content/Dial.qml b/examples/quick/customitems/dialcontrol/content/Dial.qml
index c61adee364..688bb95fea 100644
--- a/examples/quick/customitems/dialcontrol/content/Dial.qml
+++ b/examples/quick/customitems/dialcontrol/content/Dial.qml
@@ -63,7 +63,7 @@ Item {
Image {
id: needle
x: 98; y: 33
- smooth: true
+ antialiasing: true
source: "needle.png"
transform: Rotation {
id: needleRotation
diff --git a/examples/quick/customitems/dialcontrol/content/QuitButton.qml b/examples/quick/customitems/dialcontrol/content/QuitButton.qml
index 702b892d23..3fcdcf855f 100644
--- a/examples/quick/customitems/dialcontrol/content/QuitButton.qml
+++ b/examples/quick/customitems/dialcontrol/content/QuitButton.qml
@@ -42,7 +42,6 @@ import QtQuick 2.0
Image {
source: "quit.png"
scale: quitMouse.pressed ? 0.8 : 1.0
- smooth: quitMouse.pressed
MouseArea {
id: quitMouse
anchors.fill: parent
diff --git a/examples/quick/customitems/dialcontrol/dialcontrol.qml b/examples/quick/customitems/dialcontrol/dialcontrol.qml
index 467a558696..562a3c6e2a 100644
--- a/examples/quick/customitems/dialcontrol/dialcontrol.qml
+++ b/examples/quick/customitems/dialcontrol/dialcontrol.qml
@@ -67,7 +67,7 @@ Rectangle {
radius: 8
opacity: 0.7
- smooth: true
+ antialiasing: true
gradient: Gradient {
GradientStop { position: 0.0; color: "gray" }
GradientStop { position: 1.0; color: "white" }
@@ -77,7 +77,7 @@ Rectangle {
id: slider
x: 1; y: 1; width: 30; height: 14
radius: 6
- smooth: true
+ antialiasing: true
gradient: Gradient {
GradientStop { position: 0.0; color: "#424242" }
GradientStop { position: 1.0; color: "black" }