Skip to content
Snippets Groups Projects
Commit 199b243b authored by Andre Hartmann's avatar Andre Hartmann Committed by Erik Verbruggen
Browse files

C++ Macro Usages: Fix search result encoding and highlighting.


If the result lines contain non-Latin1 characters (e.g. in comments),
the output is garbled. Using QByteArrays with toUtf8() and fromUtf8()
doesn't seem to be an alternative, as in this case the macro.offset() is
no longer valid.

So it seems to be the best to use QString for the result lines.

Task-number: QTCREATORBUG-7122
Change-Id: I57128c9c9f3eb182f079e305e97e9c5ac0a1bc61
Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
parent 00e81908
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment