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