Vcs: rename overload SubmitEditor::diffSelectedFiles() for rows

-> Renamed to diffSelectedRows()

This allows to use easily Qt5 connects, without ugly casting to
pick the right overload

Change-Id: Ifaa0242febccb4e1aadd53470cc4b3be79b07c18
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
(cherry picked from commit 12fac12e8f)
This commit is contained in:
Hugues Delorme
2015-03-04 14:56:56 +01:00
parent c9c7d32bd7
commit f7bdbc66e0
9 changed files with 16 additions and 11 deletions

View File

@@ -132,7 +132,8 @@ GitSubmitEditor::GitSubmitEditor(const VcsBaseSubmitEditorParameters *parameters
m_firstUpdate(true),
m_commitDataFetcher(0)
{
connect(this, SIGNAL(diffSelectedFiles(QList<int>)), this, SLOT(slotDiffSelected(QList<int>)));
connect(this, &VcsBaseSubmitEditor::diffSelectedRows,
this, &GitSubmitEditor::slotDiffSelected);
connect(submitEditorWidget(), SIGNAL(show(QString)), this, SLOT(showCommit(QString)));
}