diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2018-09-18 15:53:35 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2018-09-19 19:47:07 +0000 |
commit | 202d40f25636905bc80317e01399d401e0cc2419 (patch) | |
tree | 58a49c826e3ed39b93cb491c66edc3e9a9ed52fa /src/plugins/git/annotationhighlighter.h | |
parent | c83b5afa9bbb04d64ddd61cfaeca0348a15bd623 (diff) | |
download | qt-creator-202d40f25636905bc80317e01399d401e0cc2419.tar.gz |
Git: Modernize
* Use auto
* Use override
* Use some member initializers
Change-Id: I3ca000d1c8e4d02331d58b85e68e4d771c636b29
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Diffstat (limited to 'src/plugins/git/annotationhighlighter.h')
-rw-r--r-- | src/plugins/git/annotationhighlighter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/annotationhighlighter.h b/src/plugins/git/annotationhighlighter.h index 7f28ad26da..629b8c3f5e 100644 --- a/src/plugins/git/annotationhighlighter.h +++ b/src/plugins/git/annotationhighlighter.h @@ -36,7 +36,7 @@ class GitAnnotationHighlighter : public VcsBase::BaseAnnotationHighlighter Q_OBJECT public: explicit GitAnnotationHighlighter(const ChangeNumbers &changeNumbers, - QTextDocument *document = 0); + QTextDocument *document = nullptr); private: QString changeNumber(const QString &block) const override; |