QmlDesigner: Remove Goto implementation from Design Studio

Task-number: QDS-5951
Change-Id: I5503f27508ec0e0f76506083baad3969730c651d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Thomas Hartmann
2022-01-17 10:50:34 +01:00
parent b12b656588
commit a87a500c77

View File

@@ -1471,8 +1471,11 @@ void DesignerActionManager::createDefaultDesignerActions()
&singleSelection, &singleSelection,
&singleSelection)); &singleSelection));
addDesignerAction(new ModelNodeContextMenuAction( const bool standaloneMode
goToImplementationCommandId, = Core::ICore::settings()->value(DesignerSettingsKey::STANDALONE_MODE).toBool();
if (!standaloneMode) {
addDesignerAction(new ModelNodeContextMenuAction(goToImplementationCommandId,
goToImplementationDisplayName, goToImplementationDisplayName,
{}, {},
rootCategory, rootCategory,
@@ -1481,6 +1484,7 @@ void DesignerActionManager::createDefaultDesignerActions()
&goImplementation, &goImplementation,
&singleSelectedAndUiFile, &singleSelectedAndUiFile,
&singleSelectedAndUiFile)); &singleSelectedAndUiFile));
}
addDesignerAction(new ModelNodeContextMenuAction( addDesignerAction(new ModelNodeContextMenuAction(
addSignalHandlerCommandId, addSignalHandlerCommandId,