diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2013-01-17 22:08:29 +0200 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2013-01-18 12:43:22 +0100 |
commit | 725ecc5f9179df92d4c26dbedea12028fa7d3ea1 (patch) | |
tree | 35b82acd67954a59927323f304d64318023fe7ae /src/plugins/git/giteditor.h | |
parent | 6dd8726a16adacd9e65f95d77982ea9b081f327f (diff) |
VCS: Refactor createDiffHighlighter
All plugins do the same...
Change-Id: I21e5a1d7507292add91199a3db75df74165b63b1
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/git/giteditor.h')
-rw-r--r-- | src/plugins/git/giteditor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/giteditor.h b/src/plugins/git/giteditor.h index cbb5acf1fd..5fc066c4cc 100644 --- a/src/plugins/git/giteditor.h +++ b/src/plugins/git/giteditor.h @@ -57,7 +57,7 @@ public slots: private: QSet<QString> annotationChanges() const; QString changeUnderCursor(const QTextCursor &) const; - VcsBase::DiffHighlighter *createDiffHighlighter() const; + QRegExp diffFilePattern() const; VcsBase::BaseAnnotationHighlighter *createAnnotationHighlighter(const QSet<QString> &changes, const QColor &bg) const; QString fileNameFromDiffSpecification(const QTextBlock &diffFileName) const; QString decorateVersion(const QString &revision) const; |