From 0831b0c2ca172de5bd65d701dcaa1b338821f0cd Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Sat, 7 Mar 2015 20:33:28 +0200 Subject: [PATCH] Core: Remove dead store Change-Id: I3388751d8b68747afbdc75354430be744736b8e7 Reviewed-by: Eike Ziller --- src/plugins/coreplugin/find/findtoolbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/coreplugin/find/findtoolbar.cpp b/src/plugins/coreplugin/find/findtoolbar.cpp index ec2ad37b9a9..45089651be3 100644 --- a/src/plugins/coreplugin/find/findtoolbar.cpp +++ b/src/plugins/coreplugin/find/findtoolbar.cpp @@ -177,7 +177,7 @@ FindToolBar::FindToolBar(FindPlugin *plugin, CurrentDocumentFind *currentDocumen // Pressing the find shortcut while focus is in the tool bar should not change the search text, // so register a different find action for the tool bar auto localFindAction = new QAction(this); - cmd = ActionManager::registerAction(localFindAction, Constants::FIND_IN_DOCUMENT, findcontext); + ActionManager::registerAction(localFindAction, Constants::FIND_IN_DOCUMENT, findcontext); connect(localFindAction, &QAction::triggered, this, [this]() { openFindToolBar(FindToolBar::OpenFlags(UpdateAll & ~UpdateFindText)); });