Utils: Initialize DeviceShell member on ctor

It is initialized in start(), which is called in the worker thread.

Reported by Coverity.

Change-Id: I385b185c220f5be20cc312eb960658c2de770a9c
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
Orgad Shaneh
2022-05-15 08:45:46 +03:00
committed by Orgad Shaneh
parent d78da50f46
commit ab66f81a61

View File

@@ -74,7 +74,7 @@ private:
void closeShellProcess();
private:
QtcProcess *m_shellProcess;
QtcProcess *m_shellProcess = nullptr;
QThread m_thread;
};