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:
@@ -214,9 +214,9 @@ Qt4RunConfigurationWidget::Qt4RunConfigurationWidget(Qt4RunConfiguration *qt4Run
|
||||
toplayout->addRow(argumentsLabel, m_argumentsLineEdit);
|
||||
|
||||
m_workingDirectoryEdit = new Utils::PathChooser(this);
|
||||
m_workingDirectoryEdit->setExpectedKind(Utils::PathChooser::Directory);
|
||||
m_workingDirectoryEdit->setPath(m_qt4RunConfiguration->baseWorkingDirectory());
|
||||
m_workingDirectoryEdit->setBaseDirectory(m_qt4RunConfiguration->target()->project()->projectDirectory());
|
||||
m_workingDirectoryEdit->setExpectedKind(Utils::PathChooser::ExistingDirectory);
|
||||
m_workingDirectoryEdit->setEnvironment(m_qt4RunConfiguration->environment());
|
||||
m_workingDirectoryEdit->setPromptDialogTitle(tr("Select Working Directory"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user