forked from qt-creator/qt-creator
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:
committed by
Orgad Shaneh
parent
d78da50f46
commit
ab66f81a61
@@ -74,7 +74,7 @@ private:
|
|||||||
void closeShellProcess();
|
void closeShellProcess();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QtcProcess *m_shellProcess;
|
QtcProcess *m_shellProcess = nullptr;
|
||||||
QThread m_thread;
|
QThread m_thread;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user