aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2023-02-07 10:38:32 +0100
committerDavid Schulz <david.schulz@qt.io>2023-02-07 12:54:47 +0000
commitfbcf0fb3bfe0a4776ed1771983d3944d6fa78e16 (patch)
tree9cdd0ee6e312f52aa445eb767fe40884a5f7c281 /src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp
parent96ebe93ecb529cc8d31cb743f6c3970fc55ae07b (diff)
ClangCodeModel: Fix initial processor state
It is expected that the processor that is created by the provider is not running. Fixes: QTCREATORBUG-28769 Change-Id: Icef270c5f9255b97aa04fc3d0ea0cf872787bd24 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp')
-rw-r--r--src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp b/src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp
index 57a8246620..90ddfbdf90 100644
--- a/src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp
+++ b/src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp
@@ -489,7 +489,7 @@ void FollowSymbolTest::initTestCase()
const QString clangdFromEnv = Utils::qtcEnvironmentVariable("QTC_CLANGD");
if (clangdFromEnv.isEmpty())
return;
- ClangdSettings::setClangdFilePath(Utils::FilePath::fromString(clangdFromEnv));
+ ClangdSettings::setClangdFilePath(Utils::FilePath::fromUserInput(clangdFromEnv));
const auto clangd = ClangdSettings::instance().clangdFilePath();
if (clangd.isEmpty() || !clangd.exists())
return;