diff options
author | dt <qtc-committer@nokia.com> | 2011-03-10 14:15:38 +0100 |
---|---|---|
committer | dt <qtc-committer@nokia.com> | 2011-03-10 15:38:26 +0100 |
commit | f4ca6959c4f6d3d070aab1cd5aa2d032f7024a98 (patch) | |
tree | f896161fdb213b8445b1f0f0d00e227205390d74 /src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp | |
parent | a64b0e0a20c76b3573c5f5b8e63da4b22adc65dd (diff) | |
download | qt-creator-f4ca6959c4f6d3d070aab1cd5aa2d032f7024a98.tar.gz |
CMakeProjectManager: waitForFinished()
silences a qt warning.
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp')
-rw-r--r-- | src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp index 76976c50a2..dca8eb9359 100644 --- a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp @@ -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); |