forked from qt-creator/qt-creator
CMake: Disable switching between different readers
Remove the code that switches between different types of readers based on what the different CMake binaries support. This is no longer needed since only file-api is supported now. Change-Id: Ia86d143f5e2cecc2bcd68ab7d62503915a32d223 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -54,6 +54,8 @@ FileApiReader::FileApiReader() {}
|
||||
|
||||
FileApiReader::~FileApiReader()
|
||||
{
|
||||
if (isParsing())
|
||||
emit errorOccurred(tr("Parsing has been canceled."));
|
||||
stop();
|
||||
resetData();
|
||||
}
|
||||
@@ -74,15 +76,6 @@ void FileApiReader::setParameters(const BuildDirParameters &p)
|
||||
if (!m_isParsing)
|
||||
emit dirty();
|
||||
});
|
||||
|
||||
qCDebug(cmakeFileApiMode) << "FileApiReader: IS READY NOW SIGNAL";
|
||||
emit isReadyNow();
|
||||
}
|
||||
|
||||
bool FileApiReader::isCompatible(const BuildDirParameters &p)
|
||||
{
|
||||
const CMakeTool *cmakeTool = p.cmakeTool();
|
||||
return cmakeTool && cmakeTool->readerType() == CMakeTool::FileApi;
|
||||
}
|
||||
|
||||
void FileApiReader::resetData()
|
||||
|
||||
Reference in New Issue
Block a user