forked from qt-creator/qt-creator
Mercurial: Remove unused function
There is still createRepositoryManagementActions, but it can be used for reference of missing functionality... Change-Id: I5d4cf71c8bec8034890215a77a8ff9d136475837 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
37fe58d9b5
commit
48b9e10009
@@ -202,8 +202,6 @@ void MercurialPlugin::createMenu()
|
|||||||
createRepositoryActions(context);
|
createRepositoryActions(context);
|
||||||
mercurialContainer->addSeparator(context);
|
mercurialContainer->addSeparator(context);
|
||||||
createRepositoryManagementActions(context);
|
createRepositoryManagementActions(context);
|
||||||
mercurialContainer->addSeparator(context);
|
|
||||||
createLessUsedActions(context);
|
|
||||||
|
|
||||||
// Request the Tools menu and add the Mercurial menu to it
|
// Request the Tools menu and add the Mercurial menu to it
|
||||||
Core::ActionContainer *toolsMenu = Core::ActionManager::actionContainer(Core::Id(Core::Constants::M_TOOLS));
|
Core::ActionContainer *toolsMenu = Core::ActionManager::actionContainer(Core::Id(Core::Constants::M_TOOLS));
|
||||||
@@ -658,13 +656,6 @@ void MercurialPlugin::createRepositoryManagementActions(const Core::Context &con
|
|||||||
// mercurialContainer->addAction(command);
|
// mercurialContainer->addAction(command);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MercurialPlugin::createLessUsedActions(const Core::Context &context)
|
|
||||||
{
|
|
||||||
//TODO create menue for these options
|
|
||||||
Q_UNUSED(context);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
void MercurialPlugin::updateActions(VcsBasePlugin::ActionState as)
|
void MercurialPlugin::updateActions(VcsBasePlugin::ActionState as)
|
||||||
{
|
{
|
||||||
if (!enableMenuAction(as, m_menuAction)) {
|
if (!enableMenuAction(as, m_menuAction)) {
|
||||||
|
|||||||
@@ -135,7 +135,6 @@ private:
|
|||||||
void createDirectoryActions(const Core::Context &context);
|
void createDirectoryActions(const Core::Context &context);
|
||||||
void createRepositoryActions(const Core::Context &context);
|
void createRepositoryActions(const Core::Context &context);
|
||||||
void createRepositoryManagementActions(const Core::Context &context);
|
void createRepositoryManagementActions(const Core::Context &context);
|
||||||
void createLessUsedActions(const Core::Context &context);
|
|
||||||
|
|
||||||
// Variables
|
// Variables
|
||||||
static MercurialPlugin *m_instance;
|
static MercurialPlugin *m_instance;
|
||||||
|
|||||||
Reference in New Issue
Block a user