summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/ivimedia/mediaplayer/main.qml1
-rw-r--r--examples/ivivehiclefunctions/climate_qml/main.qml2
-rw-r--r--examples/ivivehiclefunctions/climate_widget/mainwindow.cpp1
-rw-r--r--examples/ivivehiclefunctions/window_qml/main.qml2
4 files changed, 4 insertions, 2 deletions
diff --git a/examples/ivimedia/mediaplayer/main.qml b/examples/ivimedia/mediaplayer/main.qml
index 91ccc3e..c78b236 100644
--- a/examples/ivimedia/mediaplayer/main.qml
+++ b/examples/ivimedia/mediaplayer/main.qml
@@ -65,6 +65,7 @@ ApplicationWindow {
MediaPlayer {
id: mediaPlayer
+ discoveryMode: MediaPlayer.LoadOnlySimulationBackends
}
SplitView {
diff --git a/examples/ivivehiclefunctions/climate_qml/main.qml b/examples/ivivehiclefunctions/climate_qml/main.qml
index 75d36ed..1aba4c9 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.AutoDiscovery
+ discoveryMode: ClimateControl.LoadOnlySimulationBackends
}
//![1]
diff --git a/examples/ivivehiclefunctions/climate_widget/mainwindow.cpp b/examples/ivivehiclefunctions/climate_widget/mainwindow.cpp
index ab8504a..a6d1503 100644
--- a/examples/ivivehiclefunctions/climate_widget/mainwindow.cpp
+++ b/examples/ivivehiclefunctions/climate_widget/mainwindow.cpp
@@ -73,6 +73,7 @@ MainWindow::MainWindow(QWidget *parent) :
//![1]
m_climateControl = new QIviClimateControl(QString(), this);
+ m_climateControl->setDiscoveryMode(QIviAbstractFeature::LoadOnlySimulationBackends);
m_climateControl->startAutoDiscovery();
if (!m_climateControl->isValid())
diff --git a/examples/ivivehiclefunctions/window_qml/main.qml b/examples/ivivehiclefunctions/window_qml/main.qml
index 5679044..c9fb2a1 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.AutoDiscovery
+ discoveryMode: WindowControl.LoadOnlySimulationBackends
}
ColumnLayout {