summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2016-02-01 13:12:03 +0100
committerDominik Holland <dominik.holland@pelagicore.com>2016-02-23 11:18:57 +0000
commit8e10e93c33bac7f495ea444b783a0237b2939ed5 (patch)
treec27a209e5ecff054a3365fb3dd7896d7b1016c7e /examples
parent6ad943deec1789c0de258d33f23f1e8d58632ed6 (diff)
downloadqtivi-8e10e93c33bac7f495ea444b783a0237b2939ed5.tar.gz
Added support for detection and loading of simulation backends
By default the Feature's autodetection tries to load a production backend first and if not available falls back to a simulation backend. This behavior can be controlled by the AutoDiscoveryMode. Which backend type got loaded can be checked with the AutoDiscoveryResult. The QtIVIServiceManager got improved by adding a SearchFlag to the find method, which controls what type of backends should be included Change-Id: Ife3bb3672f21d2fb5b2d7236099de1df17487530 Reviewed-by: Johan Thelin <johan.thelin@pelagicore.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/vehiclefunctions/climate_qml/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/vehiclefunctions/climate_qml/main.qml b/examples/vehiclefunctions/climate_qml/main.qml
index 770f965..de7e9fb 100644
--- a/examples/vehiclefunctions/climate_qml/main.qml
+++ b/examples/vehiclefunctions/climate_qml/main.qml
@@ -44,7 +44,7 @@ ApplicationWindow {
//![1]
ClimateControl {
id: climateControl
- autoDiscovery: true
+ discoveryMode: ClimateControl.AutoDiscovery
}
//![1]