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:
Orgad Shaneh
2013-06-02 19:43:15 +03:00
committed by Orgad Shaneh
parent 92392454b7
commit 1f447715b0
4 changed files with 23 additions and 22 deletions

View File

@@ -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()) {