CMake: Make all readers use isReadyNow() signal

The tealeafreader used to not ever use this signal and used
the isReady() method to short-circuit the whole mechanism.

Change-Id: I2f7caedeedf977c70a5d7807e3a92775757a6fef
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Tobias Hunger
2019-06-05 15:56:37 +02:00
parent 76fc2e0b26
commit c961d9fc9e
7 changed files with 21 additions and 28 deletions

View File

@@ -152,6 +152,12 @@ TeaLeafReader::~TeaLeafReader()
resetData();
}
void TeaLeafReader::setParameters(const BuildDirParameters &p)
{
m_parameters = p;
emit isReadyNow();
}
bool TeaLeafReader::isCompatible(const BuildDirParameters &p)
{
if (!p.cmakeTool())