summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@qt.io>2020-11-23 15:50:58 +0100
committerDominik Holland <dominik.holland@qt.io>2020-12-02 10:46:42 +0100
commit5c68d60f3178c35e353c713611d7c19adc217a6d (patch)
tree6d1fe9ace27b36db02042ce323c3115ce24b304e /examples
parentb29f6c479848391c137e927189b523e3c8f7f548 (diff)
downloadqtivi-5c68d60f3178c35e353c713611d7c19adc217a6d.tar.gz
Use the DiscoveryMode enum correctly in all our QML files
Similar to C++ we need to use the Type where the enum is defined in for assignments. Change-Id: Id491d591d97915452ebcff8a7f47360be4e2340a Reviewed-by: Robert Griebl <robert.griebl@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/ivimedia/mediaplayer/main.qml2
-rw-r--r--examples/ivivehiclefunctions/climate_qml/main.qml2
-rw-r--r--examples/ivivehiclefunctions/window_qml/main.qml2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/ivimedia/mediaplayer/main.qml b/examples/ivimedia/mediaplayer/main.qml
index c78b236..1abe5b3 100644
--- a/examples/ivimedia/mediaplayer/main.qml
+++ b/examples/ivimedia/mediaplayer/main.qml
@@ -65,7 +65,7 @@ ApplicationWindow {
MediaPlayer {
id: mediaPlayer
- discoveryMode: MediaPlayer.LoadOnlySimulationBackends
+ discoveryMode: AbstractFeature.LoadOnlySimulationBackends
}
SplitView {
diff --git a/examples/ivivehiclefunctions/climate_qml/main.qml b/examples/ivivehiclefunctions/climate_qml/main.qml
index 1aba4c9..737b99e 100644
--- a/examples/ivivehiclefunctions/climate_qml/main.qml
+++ b/examples/ivivehiclefunctions/climate_qml/main.qml
@@ -68,7 +68,7 @@ ApplicationWindow {
//![1]
ClimateControl {
id: climateControl
- discoveryMode: ClimateControl.LoadOnlySimulationBackends
+ discoveryMode: AbstractFeature.LoadOnlySimulationBackends
}
//![1]
diff --git a/examples/ivivehiclefunctions/window_qml/main.qml b/examples/ivivehiclefunctions/window_qml/main.qml
index c9fb2a1..f719047 100644
--- a/examples/ivivehiclefunctions/window_qml/main.qml
+++ b/examples/ivivehiclefunctions/window_qml/main.qml
@@ -65,7 +65,7 @@ ApplicationWindow {
WindowControl {
id: windowControl
- discoveryMode: WindowControl.LoadOnlySimulationBackends
+ discoveryMode: AbstractFeature.LoadOnlySimulationBackends
}
ColumnLayout {