forked from qt-creator/qt-creator
Git: Preserve reviewers list in GerritPushDialog
Not stored in settings (it is not important enough), but usually the same reviewers are required for consequent changes Change-Id: I28564791419ac441478db65e51b09189b9f2f196 Reviewed-by: Petar Perisin <petar.perisin@gmail.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
df767f1c48
commit
1f38110dad
@@ -38,7 +38,7 @@
|
||||
namespace Gerrit {
|
||||
namespace Internal {
|
||||
|
||||
GerritPushDialog::GerritPushDialog(const QString &workingDir, QWidget *parent) :
|
||||
GerritPushDialog::GerritPushDialog(const QString &workingDir, const QString &reviewerList, QWidget *parent) :
|
||||
QDialog(parent),
|
||||
m_workingDir(workingDir),
|
||||
m_ui(new Ui::GerritPushDialog),
|
||||
@@ -126,6 +126,7 @@ GerritPushDialog::GerritPushDialog(const QString &workingDir, QWidget *parent) :
|
||||
}
|
||||
connect(m_ui->branchComboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(setChangeRange()));
|
||||
setRemoteBranches();
|
||||
m_ui->reviewersLineEdit->setText(reviewerList);
|
||||
m_valid = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user