Fixes to GrepOutputView toolbar

Authored by croick on Jul 8 2017, 11:08 PM.

Description

Fixes to GrepOutputView toolbar

Summary:
Fixes to GrepOutputView toolbar

  • fix crash when aborting grep jobs at startup by clicking on "Clear Search History" (introduced in commit 42eb6bb62c28)
  • correctly disable result navigation buttons (fixes crash when clicking on "Collapse All" button for an empty result)

Test Plan:

  • quit KDevelop with a long GrepJob in history
  • restart KDevelop and abort job by clicking on "Clear Search History" -> no crash
  • start a long GrepJob and stop it by clicking on "Clear Search History"
  • navigation buttons are now disabled

Reviewers: KDevelop, kfunk

Reviewed By: KDevelop, kfunk

Subscribers: kfunk, kdevelop-devel

Differential Revision: https://phabricator.kde.org/D6542

Details

Committed
kfunkJul 8 2017, 11:08 PM
Reviewer
KDevelop
Differential Revision
D6542: Fixes to GrepOutputView toolbar
Parents
R32:a2589b9976cd: Merge remote-tracking branch 'origin/5.1'
Branches
Unknown
Tags
Unknown