Skip to content
Snippets Groups Projects
Commit 60902c69 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Set the `virtual' attribute.

parent 43ff8a0f
No related merge requests found
......@@ -190,6 +190,7 @@ bool CheckDeclaration::visit(SimpleDeclarationAST *ast)
fun->setScope(_scope);
fun->setName(name);
fun->setMethodKey(semantic()->currentMethodKey());
fun->setVirtual(qualTy.isVirtual());
if (isQ_SIGNAL)
fun->setMethodKey(Function::SignalMethod);
else if (isQ_SLOT)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment