forked from qt-creator/qt-creator
Gerrit: Read out dependency information.
Pass on the command line argument --dependencies to the client, read out dependent/needed by changes and display them in the detailed text view. Move the toHtml() method from GerritChange to GerritModel to be able to display titles of dependent changes. Change-Id: I1d0b67a995d45a9fe5b7bdb3ff51cc905d58478f Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
3f25ed3bbf
commit
ded93b43d2
@@ -300,7 +300,7 @@ void GerritDialog::slotCurrentChanged()
|
||||
const bool valid = current.isValid();
|
||||
if (valid) {
|
||||
const int row = m_filterModel->mapToSource(current).row();
|
||||
m_detailsBrowser->setText(m_model->change(row)->toHtml());
|
||||
m_detailsBrowser->setText(m_model->toHtml(row));
|
||||
} else {
|
||||
m_detailsBrowser->setText(QString());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user