forked from qt-creator/qt-creator
Editor: Allow to hide annotations for a group of text marks
The hiding is not persistent, so on the next Qt Creator start all annotations are visible again. This is meant to quickly get rid of annotations if there are to many irrelevant of a specific kind. Change-Id: I4862e56e0f5624f30aadda26efc9dea672ab1f57 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -195,7 +195,9 @@ class BlameMark : public TextEditor::TextMark
|
||||
{
|
||||
public:
|
||||
BlameMark(const FilePath &fileName, int lineNumber, const CommitInfo &info)
|
||||
: TextEditor::TextMark(fileName, lineNumber, Constants::TEXT_MARK_CATEGORY_BLAME)
|
||||
: TextEditor::TextMark(fileName,
|
||||
lineNumber,
|
||||
{Tr::tr("Git Blame"), Constants::TEXT_MARK_CATEGORY_BLAME})
|
||||
{
|
||||
const QString text = info.shortAuthor + " " + info.authorTime.toString("yyyy-MM-dd");
|
||||
|
||||
|
Reference in New Issue
Block a user