forked from qt-creator/qt-creator
LSP: warn on non existing language client executables
Change-Id: Ie996f80f4c4d836970f62f1a174bb92967dfb281 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -47,7 +47,6 @@
|
||||
#include <QLabel>
|
||||
#include <QPushButton>
|
||||
#include <QSettings>
|
||||
#include <QStyledItemDelegate>
|
||||
#include <QTreeView>
|
||||
|
||||
constexpr char nameKey[] = "name";
|
||||
@@ -538,7 +537,7 @@ StdIOSettingsWidget::StdIOSettingsWidget(const StdIOSettings *settings, QWidget
|
||||
mainLayout->addWidget(new QLabel(tr("Executable:")), baseRows, 0);
|
||||
mainLayout->addWidget(m_executable, baseRows, 1);
|
||||
mainLayout->addWidget(new QLabel(tr("Arguments:")), baseRows + 1, 0);
|
||||
m_executable->setExpectedKind(Utils::PathChooser::Command);
|
||||
m_executable->setExpectedKind(Utils::PathChooser::ExistingCommand);
|
||||
m_executable->setPath(QDir::toNativeSeparators(settings->m_executable));
|
||||
mainLayout->addWidget(m_arguments, baseRows + 1, 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user