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,16 +1471,20 @@ void DesignerActionManager::createDefaultDesignerActions()
&singleSelection, &singleSelection,
&singleSelection)); &singleSelection));
addDesignerAction(new ModelNodeContextMenuAction( const bool standaloneMode
goToImplementationCommandId, = Core::ICore::settings()->value(DesignerSettingsKey::STANDALONE_MODE).toBool();
goToImplementationDisplayName,
{}, if (!standaloneMode) {
rootCategory, addDesignerAction(new ModelNodeContextMenuAction(goToImplementationCommandId,
QKeySequence(), goToImplementationDisplayName,
42, {},
&goImplementation, rootCategory,
&singleSelectedAndUiFile, QKeySequence(),
&singleSelectedAndUiFile)); 42,
&goImplementation,
&singleSelectedAndUiFile,
&singleSelectedAndUiFile));
}
addDesignerAction(new ModelNodeContextMenuAction( addDesignerAction(new ModelNodeContextMenuAction(
addSignalHandlerCommandId, addSignalHandlerCommandId,