forked from qt-creator/qt-creator
CMakeProjectManager: waitForFinished()
silences a qt warning.
This commit is contained in:
@@ -294,6 +294,7 @@ void CMakeSettingsPage::pathCmakeFinished()
|
|||||||
void CMakeSettingsPage::cmakeFinished(CMakeValidator *cmakeValidator) const
|
void CMakeSettingsPage::cmakeFinished(CMakeValidator *cmakeValidator) const
|
||||||
{
|
{
|
||||||
if (cmakeValidator->process) {
|
if (cmakeValidator->process) {
|
||||||
|
cmakeValidator->process->waitForFinished();
|
||||||
QString response = cmakeValidator->process->readAll();
|
QString response = cmakeValidator->process->readAll();
|
||||||
QRegExp versionRegexp(QLatin1String("^cmake version ([\\d\\.]*)"));
|
QRegExp versionRegexp(QLatin1String("^cmake version ([\\d\\.]*)"));
|
||||||
versionRegexp.indexIn(response);
|
versionRegexp.indexIn(response);
|
||||||
|
|||||||
Reference in New Issue
Block a user