forked from qt-creator/qt-creator
Debugger: Simplify one process error check
Change-Id: Icee7c6099cf958faf41abf4172752ff5cdc81fcf Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -140,7 +140,7 @@ public:
|
||||
|
||||
void handleFinished()
|
||||
{
|
||||
if (m_proc.exitStatus() == QProcess::NormalExit && m_proc.exitCode() == 0) {
|
||||
if (m_proc.result() == QtcProcess::FinishedWithSuccess) {
|
||||
// all good.
|
||||
reportDone();
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user