ENH: Adjust when log is cleared. Its kept doing generate,

and cleared when changing the source directory.
      #6358.
This commit is contained in:
Clinton Stimpson 2008-02-25 15:07:38 -05:00
parent 09829174a3
commit 0a9f041d2f

View File

@ -261,7 +261,6 @@ void CMakeSetupDialog::doConfigure()
this->enterState(Configuring);
this->Output->clear();
this->CacheValues->selectionModel()->clear();
QMetaObject::invokeMethod(this->CMakeThread->cmakeInstance(),
"setProperties", Qt::QueuedConnection,
@ -437,6 +436,7 @@ void CMakeSetupDialog::setBinaryDirectory(const QString& dir)
void CMakeSetupDialog::onSourceDirectoryChanged(const QString& dir)
{
this->Output->clear();
QMetaObject::invokeMethod(this->CMakeThread->cmakeInstance(),
"setSourceDirectory", Qt::QueuedConnection, Q_ARG(QString, dir));
}
@ -765,7 +765,6 @@ void CMakeSetupDialog::enterState(CMakeSetupDialog::State s)
else if(s == Generating)
{
this->CacheModified = false;
this->Output->clear();
this->setEnabledState(false);
this->ConfigureButton->setEnabled(false);
this->GenerateAction->setEnabled(false);