OSDN Git Service

don't validate working directory of custom process steps
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Mon, 9 May 2011 10:40:51 +0000 (12:40 +0200)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Mon, 9 May 2011 10:53:49 +0000 (12:53 +0200)
amends 64cfa46

Task-number: QTCREATORBUG-4806
Reviewed-by: dt
src/plugins/projectexplorer/processstep.cpp

index 4737fce..80955f3 100644 (file)
@@ -258,6 +258,7 @@ ProcessStepConfigWidget::ProcessStepConfigWidget(ProcessStep *step)
 {
     m_ui.setupUi(this);
     m_ui.command->setExpectedKind(Utils::PathChooser::Command);
+    m_ui.workingDirectory->setExpectedKind(Utils::PathChooser::Directory);
     connect(m_ui.command, SIGNAL(changed(QString)),
             this, SLOT(commandLineEditTextEdited()));
     connect(m_ui.workingDirectory, SIGNAL(changed(QString)),