Index: sources/device/DeviceController.h =================================================================== diff -u -r265ce7409a0ea99a4ae059f5ce7978c9cdb10631 -rac121d27e4b3c4ca5be931f7da167b93381dc0ba --- sources/device/DeviceController.h (.../DeviceController.h) (revision 265ce7409a0ea99a4ae059f5ce7978c9cdb10631) +++ sources/device/DeviceController.h (.../DeviceController.h) (revision ac121d27e4b3c4ca5be931f7da167b93381dc0ba) @@ -21,7 +21,6 @@ // Project #include "main.h" // Doxygen : do not remove -#include "Threads.h" #include "DeviceGlobals.h" #include "DeviceModels.h" #include "DeviceError.h" @@ -43,14 +42,14 @@ Q_OBJECT explicit TimedProcess(QObject *parent = nullptr) : QObject(parent) { } - int _id = 0; - int _timeout = 0; + int _pid = 0; + int _timeout = 0; QProcess *_process = nullptr; QString _command = ""; private slots: void onFinish(int) { - killTimer(_id); + killTimer(_pid); _process->kill(); _process = nullptr; deleteLater(); @@ -62,8 +61,8 @@ this , SLOT(onFinish (int))); } void start() { - _id = startTimer(_timeout); - _process->start(_command); + _pid = startTimer(_timeout); + _process->start(_command, QStringList()); } protected: