forked from qt-creator/qt-creator
UnifiedDiffData: Rename setDiff into diffOutput and make it static
Conform to sibling struct SideDiffData. Change-Id: I7630ec7480c34a94f17ef09904e332da768f0c37 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -1021,7 +1021,7 @@ void SideBySideDiffEditorWidget::showDiff()
|
||||
if (futureInterface.isCanceled())
|
||||
futureInterface.reportCanceled();
|
||||
});
|
||||
const int firstPartMax = 20; // showDiff is about 4 times quicker than filling document
|
||||
const int firstPartMax = 20; // diffOutput is about 4 times quicker than filling document
|
||||
const int leftPartMax = 60;
|
||||
const int rightPartMax = 100;
|
||||
futureInterface.setProgressRange(0, rightPartMax);
|
||||
|
||||
Reference in New Issue
Block a user