diff options
Diffstat (limited to 'shibokengenerator.cpp')
-rw-r--r-- | shibokengenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shibokengenerator.cpp b/shibokengenerator.cpp index 58a3bf518..411c59b37 100644 --- a/shibokengenerator.cpp +++ b/shibokengenerator.cpp @@ -991,7 +991,7 @@ void ShibokenGenerator::writeCodeSnips(QTextStream& s, // calls to %FUNCTION_NAME on user written custom code for calls to the protected // dispatcher. bool hasProtectedOverload = false; - if (func->functionType() == AbstractMetaFunction::UserAddedFunction) { + if (func->isUserAdded()) { foreach (const AbstractMetaFunction* f, getFunctionOverloads(func->ownerClass(), func->name())) hasProtectedOverload |= f->isProtected(); } |