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:
Jarek Kobus
2022-09-28 17:28:16 +02:00
parent 53fc68bc08
commit 084c310c44
3 changed files with 29 additions and 28 deletions

View File

@@ -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);