Commit 728321cd authored by Thomas Schöps's avatar Thomas Schöps

Change QChar::fromLatin1 --> QLatin1Char as proposed by @kossebau

parent 8a8d6b2b
......@@ -1417,7 +1417,7 @@ RangeInRevision rangeInRevisionForUse(CXCursor cursor, CXCursorKind referencedCu
} else {
// Workaround for wrong use range returned by clang for macro expansions
const auto contents = ClangUtils::getRawContents(clang_Cursor_getTranslationUnit(cursor), useRange);
const int firstOpeningParen = contents.indexOf(QChar::fromLatin1('('));
const int firstOpeningParen = contents.indexOf(QLatin1Char('('));
if (firstOpeningParen != -1) {
range.end.column = range.start.column + firstOpeningParen;
range.end.line = range.start.line;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment