forked from qt-creator/qt-creator
DiffEditor: Remove workingDir parameter from setDiff()
It was not used. Change-Id: I33a77f4d8238218b90171a98aa25af5b31b17eb3 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -141,10 +141,10 @@ void UnifiedView::beginOperation()
|
||||
m_widget->clear(tr("Waiting for data..."));
|
||||
}
|
||||
|
||||
void UnifiedView::setDiff(const QList<FileData> &diffFileList, const QString &workingDirectory)
|
||||
void UnifiedView::setDiff(const QList<FileData> &diffFileList)
|
||||
{
|
||||
QTC_ASSERT(m_widget, return);
|
||||
m_widget->setDiff(diffFileList, workingDirectory);
|
||||
m_widget->setDiff(diffFileList);
|
||||
}
|
||||
|
||||
void UnifiedView::endOperation(bool success)
|
||||
@@ -234,10 +234,10 @@ void SideBySideView::setCurrentDiffFileIndex(int index)
|
||||
m_widget->setCurrentDiffFileIndex(index);
|
||||
}
|
||||
|
||||
void SideBySideView::setDiff(const QList<FileData> &diffFileList, const QString &workingDirectory)
|
||||
void SideBySideView::setDiff(const QList<FileData> &diffFileList)
|
||||
{
|
||||
QTC_ASSERT(m_widget, return);
|
||||
m_widget->setDiff(diffFileList, workingDirectory);
|
||||
m_widget->setDiff(diffFileList);
|
||||
}
|
||||
|
||||
void SideBySideView::endOperation(bool success)
|
||||
|
||||
Reference in New Issue
Block a user