forked from qt-creator/qt-creator
ClangTools: Proliferate use of FilePath
Change-Id: I3eb16546a729ab01c10e37572adac9aef83f5cd4 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -36,6 +36,8 @@
|
||||
|
||||
#include <QThread>
|
||||
|
||||
using namespace Utils;
|
||||
|
||||
namespace ClangTools {
|
||||
namespace Internal {
|
||||
|
||||
@@ -60,8 +62,8 @@ static CppTools::ClangDiagnosticConfigsWidget *createEditWidget(
|
||||
const CppTools::ClangDiagnosticConfigs &configs, const Utils::Id &configToSelect)
|
||||
{
|
||||
// Determine executable paths
|
||||
QString clangTidyPath;
|
||||
QString clazyStandalonePath;
|
||||
FilePath clangTidyPath;
|
||||
FilePath clazyStandalonePath;
|
||||
if (auto settingsWidget = SettingsWidget::instance()) {
|
||||
// Global settings case; executables might not yet applied to settings
|
||||
clangTidyPath = settingsWidget->clangTidyPath();
|
||||
|
||||
Reference in New Issue
Block a user