Core: Remove dead store

Change-Id: I3388751d8b68747afbdc75354430be744736b8e7
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2015-03-07 20:33:28 +02:00
committed by Orgad Shaneh
parent c9cc5156e7
commit 0831b0c2ca

View File

@@ -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, // 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 // so register a different find action for the tool bar
auto localFindAction = new QAction(this); 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]() { connect(localFindAction, &QAction::triggered, this, [this]() {
openFindToolBar(FindToolBar::OpenFlags(UpdateAll & ~UpdateFindText)); openFindToolBar(FindToolBar::OpenFlags(UpdateAll & ~UpdateFindText));
}); });