summaryrefslogtreecommitdiff
path: root/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp
diff options
context:
space:
mode:
authordt <qtc-committer@nokia.com>2011-03-10 14:15:38 +0100
committerdt <qtc-committer@nokia.com>2011-03-10 15:38:26 +0100
commitf4ca6959c4f6d3d070aab1cd5aa2d032f7024a98 (patch)
treef896161fdb213b8445b1f0f0d00e227205390d74 /src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp
parenta64b0e0a20c76b3573c5f5b8e63da4b22adc65dd (diff)
downloadqt-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.cpp1
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);