Commit 046fd052 authored by Petar Perisin's avatar Petar Perisin
Browse files

Git - remove unnecessary member m_createRepositoryAction



Change-Id: I3b3f72c5699e63f3f273b1564ea0a093b6c9725b
Reviewed-by: default avatarOrgad Shaneh <orgads@gmail.com>
parent 45e6edaf
......@@ -657,9 +657,9 @@ bool GitPlugin::initialize(const QStringList &arguments, QString *errorMessage)
// --------------
gitContainer->addSeparator(globalcontext);
m_createRepositoryAction = new QAction(tr("Create Repository..."), this);
Core::Command *createRepositoryCommand = Core::ActionManager::registerAction(m_createRepositoryAction, "Git.CreateRepository", globalcontext);
connect(m_createRepositoryAction, SIGNAL(triggered()), this, SLOT(createRepository()));
QAction *repositoryAction = new QAction(tr("Create Repository..."), this);
Core::Command *createRepositoryCommand = Core::ActionManager::registerAction(repositoryAction, "Git.CreateRepository", globalcontext);
connect(repositoryAction, SIGNAL(triggered()), this, SLOT(createRepository()));
gitContainer->addAction(createRepositoryCommand);
if (0) {
......
......@@ -202,7 +202,6 @@ private:
static GitPlugin *m_instance;
Locator::CommandLocator *m_commandLocator;
QAction *m_createRepositoryAction;
QAction *m_submitCurrentAction;
QAction *m_diffSelectedFilesAction;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment