summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2017-03-30 16:21:42 +0200
committerDominik Holland <dominik.holland@pelagicore.com>2017-04-05 11:16:06 +0000
commit82b8d32b4c7917d0ceac008ffafc937fe6604373 (patch)
tree769f6b69bab0d83fa456b298212c45d6d3c46bca /examples
parent391c91dcc43c7dfc6d1112ab8cbceea90c1e7675 (diff)
downloadqtivi-82b8d32b4c7917d0ceac008ffafc937fe6604373.tar.gz
C++11 cleanup
Task-number: QTAUTO-322 Change-Id: I80accb5e7a5996c9b7b1a3baeb4cfbb93703a622 Reviewed-by: Vadim Popov <vadim.popov@pelagicore.com> Reviewed-by: Kevin Funk <kevin.funk@kdab.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/vehiclefunctions/climate_widget/mainwindow.cpp2
-rw-r--r--examples/vehiclefunctions/climate_widget/mainwindow.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/vehiclefunctions/climate_widget/mainwindow.cpp b/examples/vehiclefunctions/climate_widget/mainwindow.cpp
index 50d1921..15dca4e 100644
--- a/examples/vehiclefunctions/climate_widget/mainwindow.cpp
+++ b/examples/vehiclefunctions/climate_widget/mainwindow.cpp
@@ -61,7 +61,7 @@ MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow),
m_buttonGroup(new QButtonGroup(this)),
- m_climateControl(0)
+ m_climateControl(nullptr)
{
ui->setupUi(this);
diff --git a/examples/vehiclefunctions/climate_widget/mainwindow.h b/examples/vehiclefunctions/climate_widget/mainwindow.h
index f296ffc..f14e35a 100644
--- a/examples/vehiclefunctions/climate_widget/mainwindow.h
+++ b/examples/vehiclefunctions/climate_widget/mainwindow.h
@@ -70,7 +70,7 @@ class MainWindow : public QMainWindow
Q_OBJECT
public:
- explicit MainWindow(QWidget *parent = 0);
+ explicit MainWindow(QWidget *parent = nullptr);
~MainWindow();
private slots: