aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDaniel d'Andrada <daniel.dandrada@luxoft.com>2018-11-21 13:13:52 +0100
committerBramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>2018-11-22 10:10:28 +0000
commitff30cc636bc4243feb91aba2132bfbb3f258d27e (patch)
treeefb6b32848e507fe2fe643537468ad9c348d599a /tests
parent7978b8ea878585a20fe68edce97f172929bfc0b3 (diff)
[style] Style.image() replaces Config.gfx() and Config.symbol()
It's style and theme sensitive without requiring to have the theme value being passed as a parameter Change-Id: I9a4e79b03644d0939805b652872f7dd5c3d11b9f Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/apps/com.luxoft.vehicle/VehicleViewHarness.qml2
-rw-r--r--tests/apps/com.pelagicore.calendar/CalendarViewHarness.qml2
-rw-r--r--tests/apps/com.theqtcompany.cluster/ClusterViewHarness.qml2
-rw-r--r--tests/apps/com.theqtcompany.cluster/DialPowerHarness.qml2
-rw-r--r--tests/apps/com.theqtcompany.cluster/DialSpeedHarness.qml2
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/apps/com.luxoft.vehicle/VehicleViewHarness.qml b/tests/apps/com.luxoft.vehicle/VehicleViewHarness.qml
index e5cc528a..5964e758 100644
--- a/tests/apps/com.luxoft.vehicle/VehicleViewHarness.qml
+++ b/tests/apps/com.luxoft.vehicle/VehicleViewHarness.qml
@@ -50,7 +50,7 @@ Item {
Image {
anchors.fill: parent
- source: Config.gfx("bg-home", root.Style.theme)
+ source: Style.image("bg-home")
fillMode: Image.Stretch
}
diff --git a/tests/apps/com.pelagicore.calendar/CalendarViewHarness.qml b/tests/apps/com.pelagicore.calendar/CalendarViewHarness.qml
index 3cb75084..96d67578 100644
--- a/tests/apps/com.pelagicore.calendar/CalendarViewHarness.qml
+++ b/tests/apps/com.pelagicore.calendar/CalendarViewHarness.qml
@@ -62,7 +62,7 @@ Item {
Image {
anchors.fill: parent
- source: Config.gfx("bg-home", root.Style.theme)
+ source: Style.image("bg-home")
fillMode: Image.Stretch
}
diff --git a/tests/apps/com.theqtcompany.cluster/ClusterViewHarness.qml b/tests/apps/com.theqtcompany.cluster/ClusterViewHarness.qml
index 83506245..ba55a738 100644
--- a/tests/apps/com.theqtcompany.cluster/ClusterViewHarness.qml
+++ b/tests/apps/com.theqtcompany.cluster/ClusterViewHarness.qml
@@ -45,7 +45,7 @@ Item {
Image {
anchors.fill: parent
- source: Config.gfx("instrument-cluster-bg", root.Style.theme)
+ source: Style.image("instrument-cluster-bg")
fillMode: Image.Stretch
}
diff --git a/tests/apps/com.theqtcompany.cluster/DialPowerHarness.qml b/tests/apps/com.theqtcompany.cluster/DialPowerHarness.qml
index 3a1d47d3..a74da620 100644
--- a/tests/apps/com.theqtcompany.cluster/DialPowerHarness.qml
+++ b/tests/apps/com.theqtcompany.cluster/DialPowerHarness.qml
@@ -43,7 +43,7 @@ Item {
Image {
anchors.fill: parent
- source: Config.gfx("instrument-cluster-bg", Style.theme)
+ source: Style.image("instrument-cluster-bg")
fillMode: Image.Stretch
}
diff --git a/tests/apps/com.theqtcompany.cluster/DialSpeedHarness.qml b/tests/apps/com.theqtcompany.cluster/DialSpeedHarness.qml
index e3907227..781a74b9 100644
--- a/tests/apps/com.theqtcompany.cluster/DialSpeedHarness.qml
+++ b/tests/apps/com.theqtcompany.cluster/DialSpeedHarness.qml
@@ -43,7 +43,7 @@ Item {
Image {
anchors.fill: parent
- source: Config.gfx("instrument-cluster-bg", Style.theme)
+ source: Style.image("instrument-cluster-bg")
fillMode: Image.Stretch
}