forked from qt-creator/qt-creator
ProcessRunner: Simplify handleDone()
Change-Id: I026511906542eea126bb6d6c3c3cbc96e46934a8 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1505,8 +1505,7 @@ qint64 SimpleTargetRunnerPrivate::privateApplicationPID() const
|
||||
void SimpleTargetRunnerPrivate::handleDone()
|
||||
{
|
||||
m_resultData = m_process.resultData();
|
||||
QTC_ASSERT(m_state == Run, forwardDone(); return);
|
||||
|
||||
QTC_CHECK(m_state == Run);
|
||||
forwardDone();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user