Skip to content
Snippets Groups Projects
Commit 906c7c17 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

ClangStaticAnalyzer: Use native separators in exe placeholder


Change-Id: I49399d4d1b8c35332e223abd77886de60d155c28
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@qt.io>
parent 369b46ee
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,7 @@
#include "clangstaticanalyzerutils.h"
#include <QDir>
#include <QThread>
namespace ClangStaticAnalyzer {
......@@ -63,7 +64,8 @@ ClangStaticAnalyzerConfigWidget::ClangStaticAnalyzerConfigWidget(
chooser->setValidationFunction(validator);
bool clangExeIsSet;
const QString clangExe = settings->clangExecutable(&clangExeIsSet);
chooser->lineEdit()->setPlaceholderText(settings->defaultClangExecutable());
chooser->lineEdit()->setPlaceholderText(QDir::toNativeSeparators(
settings->defaultClangExecutable()));
if (clangExeIsSet) {
chooser->setPath(clangExe);
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment