forked from qt-creator/qt-creator
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:
@@ -294,6 +294,8 @@ void FileApiReader::cmakeFinishedState(int code, QProcess::ExitStatus status)
|
||||
Q_UNUSED(code)
|
||||
Q_UNUSED(status)
|
||||
|
||||
m_cmakeProcess.release()->deleteLater();
|
||||
|
||||
endState(m_fileApi->scanForCMakeReplyFile());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user