forked from qt-creator/qt-creator
CppTools: fixed use of NameId.
This commit is contained in:
@@ -326,7 +326,7 @@ public:
|
|||||||
name += "AST";
|
name += "AST";
|
||||||
|
|
||||||
Control *control = context.thisDocument()->control();
|
Control *control = context.thisDocument()->control();
|
||||||
const Name *n = control->nameId(control->identifier(name.toLatin1().constData()));
|
const Name *n = control->identifier(name.toLatin1().constData());
|
||||||
|
|
||||||
if (ClassOrNamespace *bb = context.lookupType(n, klass)) {
|
if (ClassOrNamespace *bb = context.lookupType(n, klass)) {
|
||||||
QString retTy;
|
QString retTy;
|
||||||
|
|||||||
Reference in New Issue
Block a user