diff options
author | hjk <hjk@qt.io> | 2023-07-12 09:47:29 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2023-07-12 13:08:09 +0000 |
commit | 0b83f110f4ca1a620e8faf2db423886aab255602 (patch) | |
tree | 278ae53b2dcf4ec2441a386626581e00e2a0b06e /src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp | |
parent | 8f82e76ba1c4c3c05aa9e14c2c7937809ec775d2 (diff) |
CppEditor: Make a few CppModelManager functions static
... to simplify code using it.
Change-Id: Ib2bfbb5a17a1d48088a9cf4973d4c3f006cd34e4
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.cpp | 2 |
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 31d69f7363..0432985eaf 100644 --- a/src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp +++ b/src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp @@ -331,7 +331,7 @@ F2TestCase::F2TestCase(CppEditorAction action, switch (action) { case FollowSymbolUnderCursorAction: { CppEditorWidget *widget = initialTestFile->m_editorWidget; - if (CppModelManager::instance()->isClangCodeModelActive()) { + if (CppModelManager::isClangCodeModelActive()) { if (curTestName == "testFollowSymbolQTCREATORBUG7903") QSKIP((curTestName + " is not supported by Clang FollowSymbol").toLatin1()); widget->enableTestMode(); |