VCS: Remove dead stores

Change-Id: I998e523c76bdc0b76cbc6089092a0dda4812ca16
Reviewed-by: Nikita Baryshnikov <nib952051@gmail.com>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
Orgad Shaneh
2015-03-07 21:32:59 +02:00
committed by Orgad Shaneh
parent 7db238c116
commit 9a1c382273
5 changed files with 15 additions and 15 deletions

View File

@@ -428,13 +428,13 @@ bool PerforcePlugin::initialize(const QStringList & /* arguments */, QString *er
connect(m_submitCurrentLogAction, SIGNAL(triggered()), this, SLOT(submitCurrentLog()));
m_diffSelectedFiles = new QAction(VcsBaseSubmitEditor::diffIcon(), tr("Diff &Selected Files"), this);
command = ActionManager::registerAction(m_diffSelectedFiles, DIFF_SELECTED, perforcesubmitcontext);
ActionManager::registerAction(m_diffSelectedFiles, DIFF_SELECTED, perforcesubmitcontext);
m_undoAction = new QAction(tr("&Undo"), this);
command = ActionManager::registerAction(m_undoAction, Core::Constants::UNDO, perforcesubmitcontext);
ActionManager::registerAction(m_undoAction, Core::Constants::UNDO, perforcesubmitcontext);
m_redoAction = new QAction(tr("&Redo"), this);
command = ActionManager::registerAction(m_redoAction, Core::Constants::REDO, perforcesubmitcontext);
ActionManager::registerAction(m_redoAction, Core::Constants::REDO, perforcesubmitcontext);
return true;
}