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 @@ ...@@ -28,6 +28,7 @@
#include "clangstaticanalyzerutils.h" #include "clangstaticanalyzerutils.h"
#include <QDir>
#include <QThread> #include <QThread>
namespace ClangStaticAnalyzer { namespace ClangStaticAnalyzer {
...@@ -63,7 +64,8 @@ ClangStaticAnalyzerConfigWidget::ClangStaticAnalyzerConfigWidget( ...@@ -63,7 +64,8 @@ ClangStaticAnalyzerConfigWidget::ClangStaticAnalyzerConfigWidget(
chooser->setValidationFunction(validator); chooser->setValidationFunction(validator);
bool clangExeIsSet; bool clangExeIsSet;
const QString clangExe = settings->clangExecutable(&clangExeIsSet); const QString clangExe = settings->clangExecutable(&clangExeIsSet);
chooser->lineEdit()->setPlaceholderText(settings->defaultClangExecutable()); chooser->lineEdit()->setPlaceholderText(QDir::toNativeSeparators(
settings->defaultClangExecutable()));
if (clangExeIsSet) { if (clangExeIsSet) {
chooser->setPath(clangExe); chooser->setPath(clangExe);
} else { } 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