summaryrefslogtreecommitdiffstats
path: root/examples/dbus/remotecontrolledcar
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dbus/remotecontrolledcar')
-rw-r--r--examples/dbus/remotecontrolledcar/car/car.h2
-rw-r--r--examples/dbus/remotecontrolledcar/controller/controller.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/dbus/remotecontrolledcar/car/car.h b/examples/dbus/remotecontrolledcar/car/car.h
index 92fc1ccdcb..e843786e5b 100644
--- a/examples/dbus/remotecontrolledcar/car/car.h
+++ b/examples/dbus/remotecontrolledcar/car/car.h
@@ -71,7 +71,7 @@ Q_SIGNALS:
void crashed();
protected:
- void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
+ void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = nullptr);
void timerEvent(QTimerEvent *event);
private:
diff --git a/examples/dbus/remotecontrolledcar/controller/controller.h b/examples/dbus/remotecontrolledcar/controller/controller.h
index 74776f2638..87359661ba 100644
--- a/examples/dbus/remotecontrolledcar/controller/controller.h
+++ b/examples/dbus/remotecontrolledcar/controller/controller.h
@@ -59,7 +59,7 @@ class Controller : public QWidget
Q_OBJECT
public:
- Controller(QWidget *parent = 0);
+ Controller(QWidget *parent = nullptr);
protected:
void timerEvent(QTimerEvent *event);