diff --git a/src/plugins/autotest/autotestplugin.cpp b/src/plugins/autotest/autotestplugin.cpp index 2a5f0fcd78f..8c687ff52a0 100644 --- a/src/plugins/autotest/autotestplugin.cpp +++ b/src/plugins/autotest/autotestplugin.cpp @@ -210,11 +210,10 @@ void AutotestPlugin::extensionsInitialized() contextMenu->addSeparator(); contextMenu->addAction(command); - action = new QAction(tr("&Debug Test Under Cursor"), this);; + action = new QAction(tr("&Debug Test Under Cursor"), this); action->setEnabled(false); action->setIcon(ProjectExplorer::Icons::DEBUG_START_SMALL.icon()); - command = ActionManager::registerAction(action, Constants::ACTION_RUN_DBG_UCURSOR); connect(action, &QAction::triggered, std::bind(&AutotestPlugin::onRunUnderCursorTriggered, this, TestRunMode::Debug));