forked from qt-creator/qt-creator
don't validate executable paths & working dirs in build & run configs
it's well within expectations that they do not exist at the time of configuration (especially when shadow building). additionally, keeping the validation info (macros and environment) up-to-date would require a notification infrastructure which is just not worth the effort.
This commit is contained in:
@@ -333,9 +333,9 @@ CMakeRunConfigurationWidget::CMakeRunConfigurationWidget(CMakeRunConfiguration *
|
||||
fl->addRow(tr("Arguments:"), argumentsLineEdit);
|
||||
|
||||
m_workingDirectoryEdit = new Utils::PathChooser();
|
||||
m_workingDirectoryEdit->setExpectedKind(Utils::PathChooser::Directory);
|
||||
m_workingDirectoryEdit->setBaseDirectory(m_cmakeRunConfiguration->target()->project()->projectDirectory());
|
||||
m_workingDirectoryEdit->setPath(m_cmakeRunConfiguration->baseWorkingDirectory());
|
||||
m_workingDirectoryEdit->setExpectedKind(Utils::PathChooser::ExistingDirectory);
|
||||
m_workingDirectoryEdit->setPromptDialogTitle(tr("Select Working Directory"));
|
||||
|
||||
QToolButton *resetButton = new QToolButton();
|
||||
|
||||
Reference in New Issue
Block a user