TextEditor: Fix typo in a TextDocumentLayout function

Change-Id: I17153d9bfe9820f3ccc88f54bce1d494a522be33
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Nikolai Kosjar
2019-12-04 08:19:53 +01:00
parent 0bd85b00a7
commit 548e798885
11 changed files with 31 additions and 31 deletions

View File

@@ -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) {