forked from qt-creator/qt-creator
CMakeProject: Fix wrong slots
We never noticed that we had run cmake Reviewed-By: hunger
This commit is contained in:
@@ -318,7 +318,7 @@ bool CMakeSettingsPage::isCMakeExecutableValid() const
|
|||||||
{
|
{
|
||||||
if (m_userCmake.state == CMakeValidator::RUNNING) {
|
if (m_userCmake.state == CMakeValidator::RUNNING) {
|
||||||
disconnect(m_userCmake.process, SIGNAL(finished(int)),
|
disconnect(m_userCmake.process, SIGNAL(finished(int)),
|
||||||
this, SLOT(cmakeFinished()));
|
this, SLOT(userCmakeFinished()));
|
||||||
m_userCmake.process->waitForFinished();
|
m_userCmake.process->waitForFinished();
|
||||||
// Parse the output now
|
// Parse the output now
|
||||||
cmakeFinished(&m_userCmake);
|
cmakeFinished(&m_userCmake);
|
||||||
@@ -328,7 +328,7 @@ bool CMakeSettingsPage::isCMakeExecutableValid() const
|
|||||||
return true;
|
return true;
|
||||||
if (m_pathCmake.state == CMakeValidator::RUNNING) {
|
if (m_pathCmake.state == CMakeValidator::RUNNING) {
|
||||||
disconnect(m_userCmake.process, SIGNAL(finished(int)),
|
disconnect(m_userCmake.process, SIGNAL(finished(int)),
|
||||||
this, SLOT(cmakeFinished()));
|
this, SLOT(pathCmakeFinished()));
|
||||||
m_pathCmake.process->waitForFinished();
|
m_pathCmake.process->waitForFinished();
|
||||||
// Parse the output now
|
// Parse the output now
|
||||||
cmakeFinished(&m_pathCmake);
|
cmakeFinished(&m_pathCmake);
|
||||||
|
Reference in New Issue
Block a user