forked from qt-creator/qt-creator
Fixed problem with nested templates in function declaration completion
Wasn't using a space to separate the closing angular brackets. Task-number: QTCREATORBUG-547 Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
This commit is contained in:
committed by
Thorbjørn Lindeijer
parent
0fdb3bebee
commit
d510aaa029
@@ -90,6 +90,8 @@ void NamePrettyPrinter::visit(TemplateNameId *name)
|
|||||||
else
|
else
|
||||||
_name += arg;
|
_name += arg;
|
||||||
}
|
}
|
||||||
|
if (! _name.isEmpty() && _name.at(_name.length() - 1) == '>')
|
||||||
|
_name += QLatin1Char(' ');
|
||||||
_name += QLatin1Char('>');
|
_name += QLatin1Char('>');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user