Git: Filter out commits according to active remote

... in the Push to Gerrit dialog.

Fixes: QTCREATORBUG-24436
Change-Id: I2f1ab49d9fbeb09ffb66de23d34a2facd53cb725
Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
Orgad Shaneh
2020-08-09 18:44:12 +03:00
committed by Orgad Shaneh
parent bafc8381c6
commit 354f628052
3 changed files with 17 additions and 2 deletions

View File

@@ -67,6 +67,7 @@ public:
int commitIndex() const;
QString earliestCommit() const;
void setItemDelegate(QAbstractItemDelegate *delegate);
void setExcludedRemote(const QString &remote) { m_excludedRemote = remote; }
signals:
void commitActivated(const QString &commit);
@@ -80,6 +81,7 @@ private:
LogChangeModel *m_model;
bool m_hasCustomDelegate;
QString m_excludedRemote;
};
class LogChangeDialog : public QDialog