Fix bug 375557 "No indication of cppcheck being run in background"

Authored by antonanikin on Aug 21 2018, 8:43 AM.

Description

Fix bug 375557 "No indication of cppcheck being run in background"

Summary:
Bug description:
After clicking Analyze -> Cppcheck (Current Project), the Cppcheck tool view opens, but it's empty and does not say that analysis is in progress which is very misleading.

The fix adds notification messages to Problems View:

  1. At the start of analysis: "Analysis started..." This message will be removed with first problem report.
  1. At the end of analysis (if we doesn't have any problems): "Analysis completed, no problems detected."

For both messages we set current analysis path as problem location.

BUG: 375274

Test Plan: Tested with master branch

Reviewers: KDevelop, mwolff, kfunk

Reviewed By: KDevelop, mwolff, kfunk

Subscribers: mwolff, kfunk, kdevelop-devel

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

Details

Committed
antonanikinAug 21 2018, 8:43 AM
Reviewer
KDevelop
Differential Revision
D4816: Fix bug 375557 "No indication of cppcheck being run in background"
Parents
R32:8c228b79f1b9: Use QStringLiteral for default string value
Branches
Unknown
Tags
Unknown