CMakeProjectManager: waitForFinished()

silences a qt warning.
This commit is contained in:
dt
2011-03-10 14:15:38 +01:00
parent a64b0e0a20
commit f4ca6959c4

View File

@@ -294,6 +294,7 @@ void CMakeSettingsPage::pathCmakeFinished()
void CMakeSettingsPage::cmakeFinished(CMakeValidator *cmakeValidator) const
{
if (cmakeValidator->process) {
cmakeValidator->process->waitForFinished();
QString response = cmakeValidator->process->readAll();
QRegExp versionRegexp(QLatin1String("^cmake version ([\\d\\.]*)"));
versionRegexp.indexIn(response);