Speed up grep output view.

Authored by senkovych on Jul 3 2015, 3:15 PM.

Description

Speed up grep output view.

Grep output view is very laggy if there is a lot of items. For example
on my machine adding just 300 items to the view takes about 10 seconds
and whole KDevelop UI becomes unresponsive. After applying proposed
changes there is no problem to add even 10 000 items - everything
works without any lag.

Also, I didn't notice any regression in the UI: all rows in the view
are displayed properly.

REVIEW: 124003

Details

Committed
zhanghuijieFeb 23 2016, 11:41 AM
Parents
R32:a5481d424103: Set version to 1.7.3
Branches
Unknown
Tags
Unknown