diff --git a/src/libs/cplusplus/TypePrettyPrinter.cpp b/src/libs/cplusplus/TypePrettyPrinter.cpp index 78475334ffd..6fff1f6c1e7 100644 --- a/src/libs/cplusplus/TypePrettyPrinter.cpp +++ b/src/libs/cplusplus/TypePrettyPrinter.cpp @@ -405,7 +405,7 @@ void TypePrettyPrinter::prependWordSeparatorSpace() const QChar ch = _text.at(0); - if (ch.isLetterOrNumber()) + if (ch.isLetterOrNumber() || ch == QLatin1Char('_')) _text.prepend(" "); }