summaryrefslogtreecommitdiff
path: root/src/plugins/git/gitplugin.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@digia.com>2013-10-14 15:38:00 +0200
committerTobias Hunger <tobias.hunger@digia.com>2013-10-15 16:53:58 +0200
commit741ab2cbfb6f61c08df41d7422d2d2f03be3c02f (patch)
tree535bbcd0163c8c02e38fa40c37aff4ef905bd9a5 /src/plugins/git/gitplugin.cpp
parentfe47725ae61be18f30911ecff57035b4c1c4bd79 (diff)
downloadqt-creator-741ab2cbfb6f61c08df41d7422d2d2f03be3c02f.tar.gz
Vcs: Remove snapshot support
The functionality is unused. Change-Id: I45017106509b8dbff9f3eff3aaef6de19be31ce7 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/git/gitplugin.cpp')
-rw-r--r--src/plugins/git/gitplugin.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/plugins/git/gitplugin.cpp b/src/plugins/git/gitplugin.cpp
index 5759e2e122..e71f0a9fda 100644
--- a/src/plugins/git/gitplugin.cpp
+++ b/src/plugins/git/gitplugin.cpp
@@ -670,18 +670,6 @@ bool GitPlugin::initialize(const QStringList &arguments, QString *errorMessage)
connect(repositoryAction, SIGNAL(triggered()), this, SLOT(createRepository()));
gitContainer->addAction(createRepositoryCommand);
- if (0) {
- const QList<QAction*> snapShotActions = createSnapShotTestActions();
- const int count = snapShotActions.size();
- for (int i = 0; i < count; i++) {
- Core::Command *tCommand
- = Core::ActionManager::registerAction(snapShotActions.at(i),
- Core::Id("Git.Snapshot.").withSuffix(i),
- globalcontext);
- gitContainer->addAction(tCommand);
- }
- }
-
// Submit editor
Core::Context submitContext(Constants::C_GITSUBMITEDITOR);
m_submitCurrentAction = new QAction(VcsBase::VcsBaseSubmitEditor::submitIcon(), tr("Commit"), this);