Gerrit: Determine server by git remote

Currently SSH only.

Change-Id: Ic29ca20e4c63cb5c692e9dc196ba205f0cbc9c6f
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Orgad Shaneh
2017-01-22 00:30:20 +02:00
committed by Orgad Shaneh
parent c317114591
commit 34504ad797
8 changed files with 128 additions and 37 deletions

View File

@@ -46,8 +46,9 @@ namespace Gerrit {
namespace Internal {
class GerritChange;
class GerritParameters;
class GerritDialog;
class GerritParameters;
class GerritServer;
class GerritPlugin : public QObject
{
@@ -77,6 +78,7 @@ private:
void fetch(const QSharedPointer<GerritChange> &change, int mode);
QSharedPointer<GerritParameters> m_parameters;
QSharedPointer<GerritServer> m_server;
QPointer<GerritDialog> m_dialog;
Core::Command *m_gerritCommand;
Core::Command *m_pushToGerritCommand;