Git: Reduce grep approximated time to 5 seconds

It typically doesn't take more than that. On Windows it might be more,
but for this we have the slowly increasing progress.

Change-Id: I4cae5ec6d8488f31387a306f841798ca079cdac5
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2016-02-17 23:08:53 +02:00
committed by Tobias Hunger
parent 14c7e909b3
commit fbffd3abae

View File

@@ -178,7 +178,7 @@ public:
TextEditor::FileFindParameters parameters) TextEditor::FileFindParameters parameters)
{ {
GitGrepRunner runner(fi, parameters); GitGrepRunner runner(fi, parameters);
Core::ProgressTimer progress(fi, 20); Core::ProgressTimer progress(fi, 5);
runner.exec(); runner.exec();
} }