CMake: Reset process in fileapi reader once it is done

This is what made "Run CMake" only work every second attempt.

Change-Id: If539941138072504225fa6461379f92a0991deac
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Tobias Hunger
2019-10-08 12:45:06 +02:00
parent 3dcf14ea3f
commit faa9eabe48

View File

@@ -294,6 +294,8 @@ void FileApiReader::cmakeFinishedState(int code, QProcess::ExitStatus status)
Q_UNUSED(code) Q_UNUSED(code)
Q_UNUSED(status) Q_UNUSED(status)
m_cmakeProcess.release()->deleteLater();
endState(m_fileApi->scanForCMakeReplyFile()); endState(m_fileApi->scanForCMakeReplyFile());
} }