diff options
author | Dominik Holland <dominik.holland@pelagicore.com> | 2016-01-13 09:37:16 +0100 |
---|---|---|
committer | Dominik Holland <dominik.holland@pelagicore.com> | 2016-01-13 12:46:03 +0000 |
commit | ecb48dd4d887a748e5c88265862df98849696486 (patch) | |
tree | 5be1297f4cdf26b68caf6b4c65d57bf004a2131b /examples | |
parent | 0d9af99a68dd98f24d6f3de5eafe45cd8952db4c (diff) | |
download | qtivi-ecb48dd4d887a748e5c88265862df98849696486.tar.gz |
Refactored the constructors of all features
Removed the autoDiscovery argument as it's not used and autoDiscovery
is started by calling startAutoDiscovery()
Also simplified the ClimateControl to only provide one constructor
Change-Id: I4d39eef2bf734da6fa7810ed936c499624e7f038
Reviewed-by: Marko Kangas <marko.kangas@theqtcompany.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/vehiclefunctions/climate_widget/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/vehiclefunctions/climate_widget/mainwindow.cpp b/examples/vehiclefunctions/climate_widget/mainwindow.cpp index 92d0b76..aef9c11 100644 --- a/examples/vehiclefunctions/climate_widget/mainwindow.cpp +++ b/examples/vehiclefunctions/climate_widget/mainwindow.cpp @@ -48,7 +48,7 @@ MainWindow::MainWindow(QWidget *parent) : m_radioButtonGroup->addButton(ui->rb_FloorPanel); //![1] - m_climateControl = new QtIVIClimateControl(this); + m_climateControl = new QtIVIClimateControl(QString(), this); m_climateControl->startAutoDiscovery(); if (!m_climateControl->isValid()) |