From 844ceaf65cb73fc6b1c316389e5427353edc22dd Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Sat, 3 Aug 2019 13:26:48 +0200 Subject: issue 7068: "QGDict::hashAsciiKey: Invalid null key" error messages (part 4) --- src/code.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/code.l b/src/code.l index 56bf75c..e92a695 100644 --- a/src/code.l +++ b/src/code.l @@ -268,7 +268,7 @@ void VariableContext::addVariable(const QCString &type,const QCString &name) QCString typeName(ltype.left(i)); ClassDef* newDef = 0; QCString templateArgs(ltype.right(ltype.length() - i)); - if ( + if ( !typeName.isEmpty() && ( // look for class definitions inside the code block (varType=g_codeClassSDict->find(typeName)) || // otherwise look for global class definitions -- cgit v0.12