diff options
Diffstat (limited to 'src/libs/utils/textutils.cpp')
-rw-r--r-- | src/libs/utils/textutils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/utils/textutils.cpp b/src/libs/utils/textutils.cpp index b9fbeae907..840325dd97 100644 --- a/src/libs/utils/textutils.cpp +++ b/src/libs/utils/textutils.cpp @@ -57,7 +57,7 @@ OptionalLineColumn convertPosition(const QTextDocument *document, int pos) return optional; } -int positionInText(QTextDocument *textDocument, int line, int column) +int positionInText(const QTextDocument *textDocument, int line, int column) { // Deduct 1 from line and column since they are 1-based. // Column should already be converted from UTF-8 byte offset to the TextEditor column. |