diff options
Diffstat (limited to 'examples/serialport/blockingmaster/masterthread.h')
-rw-r--r-- | examples/serialport/blockingmaster/masterthread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/serialport/blockingmaster/masterthread.h b/examples/serialport/blockingmaster/masterthread.h index ffb6602..f23559f 100644 --- a/examples/serialport/blockingmaster/masterthread.h +++ b/examples/serialport/blockingmaster/masterthread.h @@ -61,11 +61,11 @@ class MasterThread : public QThread Q_OBJECT public: - MasterThread(QObject *parent = 0); + explicit MasterThread(QObject *parent = nullptr); ~MasterThread(); void transaction(const QString &portName, int waitTimeout, const QString &request); - void run(); + void run() Q_DECL_OVERRIDE; signals: void response(const QString &s); |