From dd59a149367c0549a70b3c7c9e0f1b2769223c69 Mon Sep 17 00:00:00 2001 From: dt Date: Wed, 13 Apr 2011 13:10:30 +0200 Subject: [PATCH] CMakeProject: Fix wrong slots We never noticed that we had run cmake Reviewed-By: hunger --- src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp index da1be729ee7..566c487647d 100644 --- a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp @@ -318,7 +318,7 @@ bool CMakeSettingsPage::isCMakeExecutableValid() const { if (m_userCmake.state == CMakeValidator::RUNNING) { disconnect(m_userCmake.process, SIGNAL(finished(int)), - this, SLOT(cmakeFinished())); + this, SLOT(userCmakeFinished())); m_userCmake.process->waitForFinished(); // Parse the output now cmakeFinished(&m_userCmake); @@ -328,7 +328,7 @@ bool CMakeSettingsPage::isCMakeExecutableValid() const return true; if (m_pathCmake.state == CMakeValidator::RUNNING) { disconnect(m_userCmake.process, SIGNAL(finished(int)), - this, SLOT(cmakeFinished())); + this, SLOT(pathCmakeFinished())); m_pathCmake.process->waitForFinished(); // Parse the output now cmakeFinished(&m_pathCmake);