forked from qt-creator/qt-creator
Core: Rename ActionBuilder::setContainer to addToContainer
An action/command can be used in several places. Change-Id: Ifa26f64f7d200d93ada13f272de0fa833f886997 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -87,8 +87,8 @@ void ClangCodeModelPlugin::initialize()
|
||||
ActionBuilder updateStaleIndexEntries(this, "ClangCodeModel.UpdateStaleIndexEntries");
|
||||
updateStaleIndexEntries.setText(Tr::tr("Update Potentially Stale Clangd Index Entries"));
|
||||
updateStaleIndexEntries.setOnTriggered(this, &ClangModelManagerSupport::updateStaleIndexEntries);
|
||||
updateStaleIndexEntries.setContainer(CppEditor::Constants::M_TOOLS_CPP);
|
||||
updateStaleIndexEntries.setContainer(CppEditor::Constants::M_CONTEXT);
|
||||
updateStaleIndexEntries.addToContainer(CppEditor::Constants::M_TOOLS_CPP);
|
||||
updateStaleIndexEntries.addToContainer(CppEditor::Constants::M_CONTEXT);
|
||||
|
||||
#ifdef WITH_TESTS
|
||||
addTest<Tests::ActivationSequenceProcessorTest>();
|
||||
|
||||
Reference in New Issue
Block a user