summaryrefslogtreecommitdiff
path: root/examples/ivivehiclefunctions/climate_widget/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ivivehiclefunctions/climate_widget/mainwindow.cpp')
-rw-r--r--examples/ivivehiclefunctions/climate_widget/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
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())