forked from qt-creator/qt-creator
Git: Remove double warning for gerrit push
Change-Id: I5581521753fa525c6bb9f53725c28f947c8bbd44 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
92392454b7
commit
1f447715b0
@@ -96,6 +96,16 @@ int LogChangeWidget::commitIndex() const
|
||||
return -1;
|
||||
}
|
||||
|
||||
QString LogChangeWidget::earliestCommit() const
|
||||
{
|
||||
int rows = m_model->rowCount();
|
||||
if (rows) {
|
||||
if (const QStandardItem *item = m_model->item(rows - 1, Sha1Column))
|
||||
return item->text();
|
||||
}
|
||||
return QString();
|
||||
}
|
||||
|
||||
void LogChangeWidget::emitDoubleClicked(const QModelIndex &index)
|
||||
{
|
||||
if (index.isValid()) {
|
||||
|
||||
Reference in New Issue
Block a user