aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/vcsbase
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@qt.io>2019-12-04 08:19:53 +0100
committerNikolai Kosjar <nikolai.kosjar@qt.io>2019-12-18 10:15:50 +0000
commit548e7988852f2d3d9623877be132553704534b44 (patch)
tree6f5f96e19a1a2a3f6c34dd17c0e7002259e745b0 /src/plugins/vcsbase
parent0bd85b00a7de233d127067dbb8ddf0e1d6fa07b8 (diff)
TextEditor: Fix typo in a TextDocumentLayout function
Change-Id: I17153d9bfe9820f3ccc88f54bce1d494a522be33 Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/vcsbase')
-rw-r--r--src/plugins/vcsbase/diffandloghighlighter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/vcsbase/diffandloghighlighter.cpp b/src/plugins/vcsbase/diffandloghighlighter.cpp
index eeb7ad915b2..afdc72cc678 100644
--- a/src/plugins/vcsbase/diffandloghighlighter.cpp
+++ b/src/plugins/vcsbase/diffandloghighlighter.cpp
@@ -193,7 +193,7 @@ void DiffAndLogHighlighter::highlightBlock(const QString &text)
TextEditor::TextBlockUserData *data =
TextEditor::TextDocumentLayout::userData(currentBlock());
QTC_ASSERT(data, return; );
- if (!TextEditor::TextDocumentLayout::testUserData(currentBlock().previous()))
+ if (!TextEditor::TextDocumentLayout::textUserData(currentBlock().previous()))
d->m_foldingState = Internal::StartOfFile;
switch (d->m_foldingState) {