Gerrit: Remove repo selection from the dialog

Behave like the Branches dialog, which is updated by the current open file.

Change-Id: Id106b3e4fa777bcbf08b826f4e7d52845dde57a6
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Orgad Shaneh
2017-02-04 22:06:58 +02:00
committed by Orgad Shaneh
parent ffbc331168
commit f77af5e336
5 changed files with 51 additions and 45 deletions

View File

@@ -42,6 +42,8 @@ class Command;
class CommandLocator;
}
namespace VcsBase { class VcsBasePluginState; }
namespace Gerrit {
namespace Internal {
@@ -64,7 +66,7 @@ public:
void addToLocator(Core::CommandLocator *locator);
void push(const QString &topLevel);
void updateActions(bool hasTopLevel);
void updateActions(const VcsBase::VcsBasePluginState &state);
signals:
void fetchStarted(const QSharedPointer<Gerrit::Internal::GerritChange> &change);