forked from qt-creator/qt-creator
Start on a gerrit plugin as a sub-plugin of git.
- Add a gerrit window that shows a list of changes and buttons to display, apply or check out a change. - Uses the new Qt 5 Json API or the utils/json classes for Qt 4. Tested-by: Tobias Hunger <tobias.hunger@nokia.com> Tested-by: Orgad Shaneh <orgads@gmail.com> Change-Id: I14c6c2c2de8f95fb785752c7319be8638b386a1e Reviewed-by: Eike Ziller <eike.ziller@nokia.com> Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
@@ -46,6 +46,8 @@
|
||||
#include "stashdialog.h"
|
||||
#include "settingspage.h"
|
||||
|
||||
#include <gerritplugin.h>
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/coreconstants.h>
|
||||
#include <coreplugin/documentmanager.h>
|
||||
@@ -566,7 +568,9 @@ bool GitPlugin::initialize(const QStringList &arguments, QString *errorMessage)
|
||||
m_redoAction = new QAction(tr("&Redo"), this);
|
||||
command = actionManager->registerAction(m_redoAction, Core::Constants::REDO, submitContext);
|
||||
|
||||
return true;
|
||||
|
||||
Gerrit::Internal::GerritPlugin *gp = new Gerrit::Internal::GerritPlugin(this);
|
||||
return gp->initialize(gitContainer);
|
||||
}
|
||||
|
||||
GitVersionControl *GitPlugin::gitVersionControl() const
|
||||
|
Reference in New Issue
Block a user