CMakeProject: Fix wrong slots

We never noticed that we had run cmake

Reviewed-By: hunger
This commit is contained in:
dt
2011-04-13 13:10:30 +02:00
parent 8a276097c6
commit dd59a14936

View File

@@ -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);