Use ExistingCommand in PathChooser where it makes sense

This commit is contained in:
Tobias Hunger
2010-09-23 17:28:18 +02:00
parent 37c641e668
commit f06512d5f7
8 changed files with 9 additions and 9 deletions

View File

@@ -521,7 +521,7 @@ BinaryToolChainDialog::BinaryToolChainDialog(QWidget *parent) :
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
setWindowTitle(tr("Select binary and toolchains"));
m_pathChooser->setExpectedKind(Utils::PathChooser::Command);
m_pathChooser->setExpectedKind(Utils::PathChooser::ExistingCommand);
m_pathChooser->setPromptDialogTitle(tr("Gdb binary"));
connect(m_pathChooser, SIGNAL(validChanged()), this, SLOT(slotValidChanged()));
m_mainLayout->addRow(tr("Path:"), m_pathChooser);